summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/psxtypes/__nttypes.h33
1 files changed, 15 insertions, 18 deletions
diff --git a/include/psxtypes/__nttypes.h b/include/psxtypes/__nttypes.h
index 852fa1e..1da68ab 100644
--- a/include/psxtypes/__nttypes.h
+++ b/include/psxtypes/__nttypes.h
@@ -1,21 +1,3 @@
-/* verify matching compiler */
-#if defined(__NT32)
-
-typedef char __sanity[sizeof(int) - sizeof(void *) + 1];
-
-#elif defined(__NT64)
-
-#ifndef _NT64_SANITY_CHECKED
-#define _NT64_SANITY_CHECKED
-
-struct __sanity_struct {int i; void * p;};
-typedef char __sanity[sizeof(struct __sanity_struct) - 2*sizeof(long long) + 1];
-
-#endif
-
-#endif
-
-
/*compiler directives: unified syntax */
#if defined(__GNUC__)
#include "compiler/__nt_compiler_gcc.h"
@@ -32,3 +14,18 @@ typedef char __sanity[sizeof(struct __sanity_struct) - 2*sizeof(long long) + 1];
#include "arch/nt64/ntalltypes.h"
#endif
#endif
+
+
+/* verify matching compiler */
+#if defined(__NT32)
+typedef char __sanity[sizeof(int) - sizeof(void *) + 1];
+#endif
+
+
+#if defined(__NT64)
+#ifndef _NT64_SANITY_CHECKED
+#define _NT64_SANITY_CHECKED
+struct __sanity_struct {int i; void * p;};
+typedef char __sanity[sizeof(struct __sanity_struct) - 2*sizeof(long long) + 1];
+#endif
+#endif