diff options
Diffstat (limited to 'src/h-type.h')
-rw-r--r-- | src/h-type.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/h-type.h b/src/h-type.h index eb865892..2582f325 100644 --- a/src/h-type.h +++ b/src/h-type.h @@ -3,6 +3,8 @@ #ifndef INCLUDED_H_TYPE_H #define INCLUDED_H_TYPE_H +#include <stdint.h> + /* * Basic "types". * @@ -118,13 +120,8 @@ typedef signed short s16b; typedef unsigned short u16b; /* Signed/Unsigned 32 bit value */ -#ifdef L64 /* 64 bit longs */ -typedef signed int s32b; -typedef unsigned int u32b; -#else -typedef signed long s32b; -typedef unsigned long u32b; -#endif +typedef int32_t s32b; +typedef uint32_t u32b; /*** Pointers to all the basic types defined above ***/ |