summaryrefslogtreecommitdiffhomepage
path: root/include/ntcon/ntcon_abi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ntcon/ntcon_abi.h')
-rw-r--r--include/ntcon/ntcon_abi.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/include/ntcon/ntcon_abi.h b/include/ntcon/ntcon_abi.h
new file mode 100644
index 0000000..63af119
--- /dev/null
+++ b/include/ntcon/ntcon_abi.h
@@ -0,0 +1,54 @@
+#ifndef _NTCON_ABI_H_
+#define _NTCON_ABI_H_
+
+#ifdef _MIDIPIX_FREESTANDING
+
+#include <psxtypes/psxtypes.h>
+
+#else
+
+#include <stdint.h>
+#include <stddef.h>
+
+#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;
+
+#endif
+
+#endif