summaryrefslogtreecommitdiffhomepage
path: root/include/ntcon/ntcon_compiler.h
blob: e8a4de667110fbbfaa28740f269677d50417b477 (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
#ifndef _NTCON_COMPILER_H_
#define _NTCON_COMPILER_H_

#include "ntcon_abi.h"

#ifndef _MIDIPIX_FREESTANDING

#ifdef  _MSC_VER

/* visual studio: begin */
#ifndef __attr_export__
#define __attr_export__             __declspec(dllexport)
#define __attr_import__             __declspec(dllimport)
#endif
/* visual studio: end */

#else

/* all other compilers: begin */
#ifndef __attr_export__
#define __attr_export__             __attribute__((__dllexport__))
#define __attr_import__             __attribute__((__dllimport__))
#endif
/* all other compilers: end */

#endif

#endif

#endif