]> granicus.if.org Git - onig/commitdiff
change OnigCodePoint type to unsigned int for Windows
authorkosako <kosako@sofnec.co.jp>
Fri, 6 May 2016 01:20:59 +0000 (10:20 +0900)
committerkosako <kosako@sofnec.co.jp>
Fri, 6 May 2016 01:20:59 +0000 (10:20 +0900)
src/oniguruma.h

index eeaf908018234fa727c9e5b531e6b05abeb265e6..adb62832f6cec602de9fea64aeae03d4c82eeec6 100644 (file)
@@ -97,11 +97,10 @@ extern "C" {
 #endif
 
 #ifdef _WIN32
-# include <windows.h>
-typedef ULONG_PTR OnigCodePoint;
-#else
-typedef unsigned int   OnigCodePoint;
+#include <windows.h>
 #endif
+
+typedef unsigned int   OnigCodePoint;
 typedef unsigned char  OnigUChar;
 typedef unsigned int   OnigCtype;
 typedef unsigned int   OnigDistance;