diff options
author | K.Kosako <kosako@sofnec.co.jp> | 2020-01-14 10:29:51 +0900 |
---|---|---|
committer | K.Kosako <kosako@sofnec.co.jp> | 2020-01-14 10:29:51 +0900 |
commit | 1cbe673aa1f53db1c1b7780e72e82b36aa26c72b (patch) | |
tree | 2797ef17909842686c3cf4015dc20a5777829429 | |
parent | 3a63ebabbfdc0f0371a4bdb856bed017d3dba108 (diff) | |
download | oniguruma-1cbe673aa1f53db1c1b7780e72e82b36aa26c72b.zip oniguruma-1cbe673aa1f53db1c1b7780e72e82b36aa26c72b.tar.gz oniguruma-1cbe673aa1f53db1c1b7780e72e82b36aa26c72b.tar.bz2 |
refactoring for removing ONIGURUMA_SYS_UEFI
-rw-r--r-- | src/st.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -3,20 +3,14 @@ /* @(#) st.h 5.1 89/12/14 */ #ifndef ST_INCLUDED - #define ST_INCLUDED -#ifndef ONIGURUMA_SYS_UEFI - -#ifdef _WIN32 -# include <windows.h> -typedef ULONG_PTR st_data_t; -#else +#if SIZEOF_VOIDP == SIZEOF_LONG typedef unsigned long st_data_t; +#elif SIZEOF_VOIDP == SIZEOF_LONG_LONG +typedef unsigned LONG_LONG st_data_t; #endif -#endif /* ONIGURUMA_SYS_UEFI */ - #define ST_DATA_T_DEFINED typedef struct st_table st_table; |