Go to the documentation of this file.
36 #ifndef _XED_COMMON_HDRS_H_
37 # define _XED_COMMON_HDRS_H_
41 #if defined(__FreeBSD__)
44 #if defined(__linux__)
50 #if defined(__APPLE__)
59 # if defined(XED_WINDOWS)
60 # define XED_DLL_EXPORT __declspec(dllexport)
61 # define XED_DLL_IMPORT __declspec(dllimport)
62 # elif defined(XED_LINUX) || defined(XED_BSD) || defined(XED_MAC)
63 # define XED_DLL_EXPORT __attribute__((visibility("default")))
64 # define XED_DLL_IMPORT
66 # define XED_DLL_EXPORT
67 # define XED_DLL_IMPORT
70 # if defined(XED_BUILD)
72 # define XED_DLL_GLOBAL XED_DLL_EXPORT
75 # define XED_DLL_GLOBAL XED_DLL_IMPORT
78 # define XED_DLL_EXPORT
79 # define XED_DLL_IMPORT
80 # define XED_DLL_GLOBAL
84 #if !defined(XED_MESSAGES)
85 # define XED_MESSAGES 0
88 #if defined(XED_OMIT_ENCODER)
94 #if defined(XED_OMIT_DECODER)