diff options
Diffstat (limited to 'src/st.h')
-rw-r--r-- | src/st.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -3,15 +3,14 @@ /* @(#) st.h 5.1 89/12/14 */ #ifndef ST_INCLUDED - #define ST_INCLUDED -#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 + #define ST_DATA_T_DEFINED typedef struct st_table st_table; |