summaryrefslogtreecommitdiff
path: root/include/tpax/tpax_api.h
blob: 0e6db9937822e856b9d586c26b1742e22c574ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef TPAX_API_H
#define TPAX_API_H

#include <limits.h>

/* tpax_export */
#if	defined(__dllexport)
#define tpax_export __dllexport
#else
#define tpax_export
#endif

/* tpax_import */
#if	defined(__dllimport)
#define tpax_import __dllimport
#else
#define tpax_import
#endif

/* tpax_api */
#ifndef TPAX_APP
#if     defined (TPAX_EXPORT)
#define tpax_api tpax_export
#elif   defined (TPAX_IMPORT)
#define tpax_api tpax_import
#elif   defined (TPAX_STATIC)
#define tpax_api
#else
#define tpax_api
#endif
#else
#define tpax_api
#endif

#endif