hwsd  1.3.1
Local and remote ZeroConf service discovery for hardware resources
net/sys/api.h
Go to the documentation of this file.
1 // generated by CommonLibrary.cmake, do not edit.
2 
8 #ifndef HWSD_NET_SYS_API_H
9 #define HWSD_NET_SYS_API_H
10 
11 #include <hwsd/defines.h>
12 
13 #if defined(_MSC_VER) || defined(__declspec)
14 # define HWSD_DLLEXPORT __declspec(dllexport)
15 # define HWSD_DLLIMPORT __declspec(dllimport)
16 #else // _MSC_VER
17 # define HWSD_DLLEXPORT
18 # define HWSD_DLLIMPORT
19 #endif // _MSC_VER
20 
21 #if defined(HWSD_NET_SYS_STATIC)
22 # define HWSD_API
23 #elif defined(HWSD_NET_SYS_SHARED)
24 # define HWSD_API HWSD_DLLEXPORT
25 #else
26 # define HWSD_API HWSD_DLLIMPORT
27 #endif
28 
29 #if defined(HWSD_NET_SYS_SHARED_INL)
30 # define HWSD_INL HWSD_DLLEXPORT
31 #else
32 # define HWSD_INL HWSD_DLLIMPORT
33 #endif
34 
35 #endif