1 #ifndef SLIBTOOL_API_H
2 #define SLIBTOOL_API_H
3 
4 #include <limits.h>
5 
6 /* slbt_export */
7 #if	defined(__dllexport)
8 #define slbt_export __dllexport
9 #else
10 #define slbt_export
11 #endif
12 
13 /* slbt_import */
14 #if	defined(__dllimport)
15 #define slbt_import __dllimport
16 #else
17 #define slbt_import
18 #endif
19 
20 /* slbt_api */
21 #ifndef SLBT_APP
22 #if     defined (SLBT_EXPORT)
23 #define slbt_api slbt_export
24 #elif   defined (SLBT_IMPORT)
25 #define slbt_api slbt_import
26 #elif   defined (SLBT_STATIC)
27 #define slbt_api
28 #else
29 #define slbt_api
30 #endif
31 #else
32 #define slbt_api
33 #endif
34 
35 #endif
36