Browse Source

"long int" isn't necessarily 64 bits on a 64-bit architecture, but "long long int" usually is.

David Rose 14 years ago
parent
commit
d715a331e3
2 changed files with 0 additions and 16 deletions
  1. 0 8
      dtool/src/dtoolbase/numeric_types.h
  2. 0 8
      dtool/src/parser-inc/stdint.h

+ 0 - 8
dtool/src/dtoolbase/numeric_types.h

@@ -52,20 +52,12 @@ typedef uint64_t PN_uint64;
 typedef signed char PN_int8;
 typedef short int PN_int16;
 typedef int PN_int32;
-#if NATIVE_WORDSIZE == 64
-typedef long int PN_int64;
-#else
 typedef long long int PN_int64;
-#endif
 
 typedef unsigned char PN_uint8;
 typedef unsigned short int PN_uint16;
 typedef unsigned int PN_uint32;
-#if NATIVE_WORDSIZE == 64
-typedef unsigned long int PN_uint64;
-#else
 typedef unsigned long long int PN_uint64;
-#endif
 
 #endif
 

+ 0 - 8
dtool/src/parser-inc/stdint.h

@@ -24,20 +24,12 @@
 typedef signed char int8_t;
 typedef short int int16_t;
 typedef int int32_t;
-#if __WORDSIZE == 64
-typedef long int int64_t;
-#else
 typedef long long int int64_t;
-#endif
 
 typedef unsigned char uint8_t;
 typedef unsigned short int uint16_t;
 typedef unsigned int uint32_t;
-#if __WORDSIZE == 64
-typedef unsigned long int uint64_t;
-#else
 typedef unsigned long long int uint64_t;
-#endif
 
 #endif