Easemob Windows SDK
emdefines.h
1 #ifndef _HYPHENATE_DEFINES
2 #define _HYPHENATE_DEFINES
3 
4 #include <cstdint>
5 
6 #if _MSC_VER
7 #define snprintf _snprintf
8 #endif
9 
10 #if defined( _WIN32 )
11 # if defined( EASEMOB_EXPORTS ) || defined( DLL_EXPORT )
12 # define EASEMOB_API __declspec( dllexport )
13 # else
14 # if defined( EASEMOB_IMPORTS ) || defined( DLL_IMPORT )
15 # define EASEMOB_API __declspec( dllimport )
16 # endif
17 # endif
18 #endif
19 
20 #ifndef EASEMOB_API
21 # define EASEMOB_API
22 #endif
23 
24 #endif