DFace SDK  1.8.5
def.h
1 //
2 // Created by asy on 10/19/18.
3 //
4 
5 #ifndef DFACE_DEF_H
6 #define DFACE_DEF_H
7 
8 #define CVAPI_EXPORTS 1
9 
10 #if (defined WIN32 || defined _WIN32 || defined WINCE || defined __CYGWIN__) && defined CVAPI_EXPORTS
11 # define DFACE_EXPORTS _declspec(dllexport)
12 #elif defined __GNUC__ && __GNUC__ >= 4
13 # define DFACE_EXPORTS __attribute__ ((visibility ("default")))
14 #else
15 # define DFACE_EXPORTS
16 #endif
17 
18 #ifndef DFACE_EXTERN_C
19 # ifdef __cplusplus
20 # define DFACE_EXTERN_C extern "C"
21 # else
22 # define DFACE_EXTERN_C
23 # endif
24 #endif
25 
26 
27 #endif //DFACE_DEF_H