18 #ifndef __IGN_TRANSPORT_HELPERS_HH_INCLUDED__ 19 #define __IGN_TRANSPORT_HELPERS_HH_INCLUDED__ 31 #if defined BUILDING_STATIC_LIBS 32 #define IGNITION_VISIBLE 33 #define IGNITION_MSGS_VISIBLE 34 #define IGNITION_HIDDEN 36 #if defined __WIN32 || defined __CYGWIN__ 39 #define IGNITION_VISIBLE __attribute__ ((dllexport)) 41 #define IGNITION_VISIBLE __declspec(dllexport) 45 #define IGNITION_VISIBLE __attribute__ ((dllimport)) 47 #define IGNITION_VISIBLE __declspec(dllimport) 50 #define IGNITION_HIDDEN 53 #define IGNITION_VISIBLE __attribute__ ((visibility ("default"))) 54 #define IGNITION_HIDDEN __attribute__ ((visibility ("hidden"))) 56 #define IGNITION_VISIBLE 57 #define IGNITION_HIDDEN 61 #if defined _WIN32 || defined __CYGWIN__ 62 #ifdef BUILDING_DLL_IGNITION_MSGS 64 #define IGNITION_MSGS_VISIBLE __attribute__ ((dllexport)) 66 #define IGNITION_MSGS_VISIBLE __declspec(dllexport) 70 #define IGNITION_MSGS_VISIBLE __attribute__ ((dllimport)) 72 #define IGNITION_MSGS_VISIBLE __declspec(dllimport) 75 #define IGNITION_MSGS_HIDDEN 78 #define IGNITION_MSGS_VISIBLE __attribute__ ((visibility ("default"))) 79 #define IGNITION_MSGS_HIDDEN __attribute__ ((visibility ("hidden"))) 81 #define IGNITION_MSGS_VISIBLE 82 #define IGNITION_MSGS_HIDDEN 97 bool env(
const std::string &_name,
104 #define ign_strcat strcat_s 105 #define ign_strcpy strcpy_s 106 #define ign_sprintf sprintf_s 107 #define ign_strdup _strdup 109 #define ign_strcat std::strcat 110 #define ign_strcpy std::strcpy 111 #define ign_sprintf std::sprintf 112 #define ign_strdup strdup #define IGNITION_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:56
Definition: AdvertiseOptions.hh:25
bool env(const std::string &_name, std::string &_value)
Find the environment variable '_name' and return its value.