-#if ARCHDIR_is_x86
-typedef int32_t intptr_t;
-typedef uint32_t uintptr_t;
-#elif ARCHDIR_is_x86_64
-typedef int64_t intptr_t;
-typedef uint64_t uintptr_t;
-#elif ARCHDIR_is_armv7
-typedef int32_t intptr_t;
-typedef uint32_t uintptr_t;
-#else
-# error "Unknown pointer size"
-#endif
+typedef __uint8_t uint8_t;
+typedef __uint16_t uint16_t;
+typedef __uint32_t uint32_t;
+typedef __uint64_t uint64_t;
+typedef __int8_t int8_t;
+typedef __int16_t int16_t;
+typedef __int32_t int32_t;
+typedef __int64_t int64_t;
+
+typedef __intptr_t intptr_t;
+typedef __uintptr_t uintptr_t;