summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_api.h17
-rw-r--r--include/ntapi/ntapi.h12
2 files changed, 18 insertions, 11 deletions
diff --git a/include/ntapi/nt_api.h b/include/ntapi/nt_api.h
new file mode 100644
index 0000000..45d895a
--- /dev/null
+++ b/include/ntapi/nt_api.h
@@ -0,0 +1,17 @@
+#ifndef _NT_API_H_
+#define _NT_API_H_
+
+#include "nt_abi.h"
+#include "nt_compiler.h"
+
+#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
+#else
+#define __ntapi_api
+#endif
+
+#endif
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 7dc0ea6..d122db5 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -1,17 +1,7 @@
#ifndef _NTAPI_H_
#define _NTAPI_H_
-#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
-#else
-#define __ntapi_api
-#endif
-
-#include "nt_abi.h"
+#include "nt_api.h"
#include "nt_compiler.h"
#include "nt_status.h"
#include "nt_crc32.h"