18 #ifndef __SWARM_HELPERS_HH_INCLUDED__
19 #define __SWARM_HELPERS_HH_INCLUDED__
27 #if defined BUILDING_STATIC_LIBS
28 #define IGNITION_VISIBLE
29 #define IGNITION_MSGS_VISIBLE
30 #define IGNITION_HIDDEN
32 #if defined __WIN32 || defined __CYGWIN__
35 #define IGNITION_VISIBLE __attribute__ ((dllexport))
37 #define IGNITION_VISIBLE __declspec(dllexport)
41 #define IGNITION_VISIBLE __attribute__ ((dllimport))
43 #define IGNITION_VISIBLE __declspec(dllimport)
46 #define IGNITION_HIDDEN
49 #define IGNITION_VISIBLE __attribute__ ((visibility ("default")))
50 #define IGNITION_HIDDEN __attribute__ ((visibility ("hidden")))
52 #define IGNITION_VISIBLE
53 #define IGNITION_HIDDEN
57 #if defined _WIN32 || defined __CYGWIN__
58 #ifdef BUILDING_DLL_IGNITION_MSGS
60 #define IGNITION_MSGS_VISIBLE __attribute__ ((dllexport))
62 #define IGNITION_MSGS_VISIBLE __declspec(dllexport)
66 #define IGNITION_MSGS_VISIBLE __attribute__ ((dllimport))
68 #define IGNITION_MSGS_VISIBLE __declspec(dllimport)
71 #define IGNITION_MSGS_HIDDEN
74 #define IGNITION_MSGS_VISIBLE __attribute__ ((visibility ("default")))
75 #define IGNITION_MSGS_HIDDEN __attribute__ ((visibility ("hidden")))
77 #define IGNITION_MSGS_VISIBLE
78 #define IGNITION_MSGS_HIDDEN