diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h index 9fef833..16f67d9 100644 --- a/include/types.h +++ b/include/types.h @@ -12,6 +12,12 @@ typedef unsigned short int uint16; typedef unsigned long uint32; typedef unsigned long long uint64; +#if defined(__x86_64__) + typedef uint64 uword; +#else + typedef uint32 uword; +#endif + #if defined(__x86_64) || defined(__i686) typedef uint64 uintptr; #else |
