summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_abi.h25
-rw-r--r--include/ntapi/nt_compiler.h3
2 files changed, 28 insertions, 0 deletions
diff --git a/include/ntapi/nt_abi.h b/include/ntapi/nt_abi.h
index de99106..95fc9bf 100644
--- a/include/ntapi/nt_abi.h
+++ b/include/ntapi/nt_abi.h
@@ -14,15 +14,40 @@
#ifndef __in
#define __in
+#endif
+
+#ifndef __out
#define __out
+#endif
+
+#ifndef __in_opt
#define __in_opt
+#endif
+
+#ifndef __out_opt
#define __out_opt
+#endif
+
+#ifndef __in_out
#define __in_out
+#endif
+
+#ifndef __in_out_opt
#define __in_out_opt
+#endif
+
+#ifndef __optional
#define __optional
+#endif
+
+#ifndef __reserved
#define __reserved
#endif
+#ifndef __inline__
+#define __inline__ __inline
+#endif
+
typedef unsigned short wchar16_t;
typedef unsigned int wchar32_t;
diff --git a/include/ntapi/nt_compiler.h b/include/ntapi/nt_compiler.h
index bb4b31d..0336330 100644
--- a/include/ntapi/nt_compiler.h
+++ b/include/ntapi/nt_compiler.h
@@ -31,6 +31,9 @@
#define __attr_import__ __declspec(dllimport)
#endif
+#ifndef _DALIST_FREESTANDING
+#define _DALIST_FREESTANDING
+#endif
/* visual studio: end */
#else