summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_abi.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-12 16:47:24 -0500
committermidipix <writeonce@midipix.org>2016-12-12 16:47:24 -0500
commitfa20def8caa8623691d50bfb44e660eb48802dc6 (patch)
treeb68fcd78957da5da840aaa4e1c26d1194d293831 /include/ntapi/nt_abi.h
parentcd5d5c3277aa300cac91d09ba02212c06e6b1218 (diff)
downloadntapi-fa20def8caa8623691d50bfb44e660eb48802dc6.tar.bz2
ntapi-fa20def8caa8623691d50bfb44e660eb48802dc6.tar.xz
api headers: nt_{abi|compiler}.h: provide a smoother foreign toolchain support.
Diffstat (limited to 'include/ntapi/nt_abi.h')
-rw-r--r--include/ntapi/nt_abi.h25
1 files changed, 25 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;