GEOM
Computer Graphics Structures library
API.h
1 #ifndef GEOM_API_H
2 #define GEOM_API_H
3 
4 #ifdef _WIN32
5 # ifdef GEOM_STATIC
6 # define GEOM_API
7 # elif GEOM_EXPORT
8 # define GEOM_API __declspec(dllexport)
9 # else
10 # define GEOM_API __declspec(dllimport)
11 # endif
12 #else
13 # define GEOM_API __attribute__ ((visibility("default")))
14 #endif
15 #endif /* !GEOM_API_H */