summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_api.h
blob: df491e678b0ada1db0ee338d54e9afb839bcd90c (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
#ifndef _NT_API_H_
#define _NT_API_H_

#include "nt_abi.h"
#include "nt_compiler.h"

/* protected visibility */
#if	defined(__attr_protected__)
#define ntapi_protected __attr_protected__
#else
#define ntapi_protected
#endif

#if   defined (NTAPI_EXPORT)
#define	__ntapi_api __attr_export__
#elif defined (NTAPI_IMPORT)
#define	__ntapi_api __attr_import__
#elif defined (NTAPI_STATIC)
#define	__ntapi_api ntapi_protected
#else
#define	__ntapi_api
#endif

#endif