18 #ifndef IGN_TRANSPORT_HELPERS_HH_ 19 #define IGN_TRANSPORT_HELPERS_HH_ 33 #if defined BUILDING_STATIC_LIBS 34 #define IGNITION_TRANSPORT_VISIBLE 35 #define IGNITION_HIDDEN 37 #if defined __WIN32 || defined __CYGWIN__ 40 #define IGNITION_TRANSPORT_VISIBLE __attribute__ ((dllexport)) 42 #define IGNITION_TRANSPORT_VISIBLE __declspec(dllexport) 46 #define IGNITION_TRANSPORT_VISIBLE __attribute__ ((dllimport)) 48 #define IGNITION_TRANSPORT_VISIBLE __declspec(dllimport) 51 #define IGNITION_HIDDEN 54 #define IGNITION_TRANSPORT_VISIBLE __attribute__ ((visibility ("default"))) 55 #define IGNITION_HIDDEN __attribute__ ((visibility ("hidden"))) 57 #define IGNITION_TRANSPORT_VISIBLE 58 #define IGNITION_HIDDEN 69 static const uint64_t
kUnthrottled = std::numeric_limits<uint64_t>::max();
76 bool env(
const std::string &_name,
83 #define ign_strcat strcat_s 84 #define ign_strcpy strcpy_s 85 #define ign_sprintf sprintf_s 86 #define ign_strdup _strdup 88 #define ign_strcat std::strcat 89 #define ign_strcpy std::strcpy 90 #define ign_sprintf std::sprintf 91 #define ign_strdup strdup #define IGNITION_TRANSPORT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:57
Definition: AdvertiseOptions.hh:27
static const uint64_t kUnthrottled
Constant used when not interested in throttling.
Definition: Helpers.hh:69
bool env(const std::string &_name, std::string &_value)
Find the environment variable '_name' and return its value.