pulsar-client-cpp
defines.h
1 
19 #ifndef PULSAR_DEFINES_H_
20 #define PULSAR_DEFINES_H_
21 
22 #ifdef PULSAR_STATIC
23 
24 #define PULSAR_PUBLIC
25 
26 #else
27 
28 #ifdef _WIN32
29 
30 #ifdef BUILDING_PULSAR
31 #define PULSAR_PUBLIC __declspec(dllexport)
32 #else
33 #define PULSAR_PUBLIC __declspec(dllimport)
34 #endif /*BUILDING_PULSAR*/
35 
36 #else
37 
38 #define PULSAR_PUBLIC __attribute__((visibility("default")))
39 
40 #endif /*_WIN32*/
41 
42 #endif /*PULSAR_STATIC*/
43 
44 #endif /* PULSAR_DEFINES_H_ */