Servus  1.4.0
C++ network oriented utilities including a zeroconf implementation
api.h
Go to the documentation of this file.
1 // generated by CommonLibrary.cmake, do not edit.
2 
8 #ifndef SERVUS_API_H
9 #define SERVUS_API_H
10 
11 #include <servus/defines.h>
12 
13 #if defined(_MSC_VER) || defined(__declspec)
14 # define SERVUS_DLLEXPORT __declspec(dllexport)
15 # define SERVUS_DLLIMPORT __declspec(dllimport)
16 #else // _MSC_VER
17 # define SERVUS_DLLEXPORT
18 # define SERVUS_DLLIMPORT
19 #endif // _MSC_VER
20 
21 #if defined(SERVUS_STATIC)
22 # define SERVUS_API
23 #elif defined(SERVUS_SHARED)
24 # define SERVUS_API SERVUS_DLLEXPORT
25 #else
26 # define SERVUS_API SERVUS_DLLIMPORT
27 #endif
28 
29 #if defined(SERVUS_SHARED_INL)
30 # define SERVUS_INL SERVUS_DLLEXPORT
31 #else
32 # define SERVUS_INL SERVUS_DLLIMPORT
33 #endif
34 
35 #endif