Go to the documentation of this file.
17 #ifndef SDF_VISIBLE_HH_
18 #define SDF_VISIBLE_HH_
28 #if defined _WIN32 || defined __CYGWIN__
29 #ifdef BUILDING_SDFORMAT_SHARED
30 #define SDFORMAT_VISIBLE __declspec(dllexport)
31 #elif !defined SDFORMAT_STATIC_DEFINE
32 #define SDFORMAT_VISIBLE __declspec(dllimport)
34 #define SDFORMAT_VISIBLE
37 #if __GNUC__ >= 4 && !defined SDFORMAT_STATIC_DEFINE
38 #define SDFORMAT_VISIBLE __attribute__ ((visibility ("default")))
39 #define SDFORMAT_HIDDEN __attribute__ ((visibility ("hidden")))
41 #define SDFORMAT_VISIBLE
42 #define SDFORMAT_HIDDEN