aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK.Kosako <kosako@sofnec.co.jp>2020-01-14 11:02:04 +0900
committerK.Kosako <kosako@sofnec.co.jp>2020-01-14 11:02:04 +0900
commit4f3a82f4e120b400fa7b8e791cc479fbc42efede (patch)
treebfca942e57efbbbf5a230c18fb8d740a65e84cdd
parent928e8c853652a700f3519cf34e6fcb8189a1a149 (diff)
downloadoniguruma-4f3a82f4e120b400fa7b8e791cc479fbc42efede.zip
oniguruma-4f3a82f4e120b400fa7b8e791cc479fbc42efede.tar.gz
oniguruma-4f3a82f4e120b400fa7b8e791cc479fbc42efede.tar.bz2
reduce ONIGURUMA_SYS_UEFI range by moving intptr_t and uintptr_t definition
-rw-r--r--src/regint.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/regint.h b/src/regint.h
index 721c1f8..726ead9 100644
--- a/src/regint.h
+++ b/src/regint.h
@@ -201,18 +201,19 @@
#include <malloc.h>
#endif
+/* strend hash */
+typedef void hash_table_type;
+
+#endif /* ONIGURUMA_SYS_UEFI */
+
+
#ifdef _WIN32
#if defined(_MSC_VER) && (_MSC_VER < 1300)
-typedef int intptr_t;
+typedef int intptr_t;
typedef unsigned int uintptr_t;
#endif
#endif
-/* strend hash */
-typedef void hash_table_type;
-
-#endif /* ONIGURUMA_SYS_UEFI */
-
#if SIZEOF_VOIDP == SIZEOF_LONG
typedef unsigned long hash_data_type;
#elif SIZEOF_VOIDP == SIZEOF_LONG_LONG