18 #ifndef MANIFOLD_HELPERS_HH_
19 #define MANIFOLD_HELPERS_HH_
31 #if defined BUILDING_STATIC_LIBS
32 #define MANIFOLD_VISIBLE
33 #define MANIFOLD_HIDDEN
35 #if defined __WIN32 || defined __CYGWIN__
38 #define MANIFOLD_VISIBLE __attribute__ ((dllexport))
40 #define MANIFOLD_VISIBLE __declspec(dllexport)
44 #define MANIFOLD_VISIBLE __attribute__ ((dllimport))
46 #define MANIFOLD_VISIBLE __declspec(dllimport)
49 #define MANIFOLD_HIDDEN
52 #define MANIFOLD_VISIBLE __attribute__ ((visibility ("default")))
53 #define MANIFOLD_HIDDEN __attribute__ ((visibility ("hidden")))
55 #define MANIFOLD_VISIBLE
56 #define MANIFOLD_HIDDEN
69 bool env(
const std::string &_name,
75 #define ign_strcat strcat_s
76 #define ign_strcpy strcpy_s
77 #define ign_sprintf sprintf_s
78 #define ign_strdup _strdup
80 #define ign_strcat std::strcat
81 #define ign_strcpy std::strcpy
82 #define ign_sprintf std::sprintf
83 #define ign_strdup strdup
bool env(const std::string &_name, std::string &_value)
Find the environment variable '_name' and return its value.
#define MANIFOLD_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:55