diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -75,6 +75,7 @@ typedef int int32_t; | |||
75 | # else | 75 | # else |
76 | # error "32 bit int type not found." | 76 | # error "32 bit int type not found." |
77 | # endif | 77 | # endif |
78 | /* | ||
78 | # if (SIZEOF_LONG_INT == 8) | 79 | # if (SIZEOF_LONG_INT == 8) |
79 | typedef long int int64_t; | 80 | typedef long int int64_t; |
80 | # else | 81 | # else |
@@ -85,6 +86,7 @@ typedef long long int int64_t; | |||
85 | # error "64 bit int type not found." | 86 | # error "64 bit int type not found." |
86 | # endif | 87 | # endif |
87 | # endif | 88 | # endif |
89 | */ | ||
88 | #endif | 90 | #endif |
89 | 91 | ||
90 | /* If sys/types.h does not supply u_intXX_t, supply them ourselves */ | 92 | /* If sys/types.h does not supply u_intXX_t, supply them ourselves */ |
@@ -93,7 +95,9 @@ typedef long long int int64_t; | |||
93 | typedef uint8_t u_int8_t; | 95 | typedef uint8_t u_int8_t; |
94 | typedef uint16_t u_int16_t; | 96 | typedef uint16_t u_int16_t; |
95 | typedef uint32_t u_int32_t; | 97 | typedef uint32_t u_int32_t; |
98 | /* | ||
96 | typedef uint64_t u_int64_t; | 99 | typedef uint64_t u_int64_t; |
100 | */ | ||
97 | # define HAVE_U_INTXX_T 1 | 101 | # define HAVE_U_INTXX_T 1 |
98 | # else | 102 | # else |
99 | # if (SIZEOF_CHAR == 1) | 103 | # if (SIZEOF_CHAR == 1) |
@@ -111,6 +115,7 @@ typedef unsigned int u_int32_t; | |||
111 | # else | 115 | # else |
112 | # error "32 bit int type not found." | 116 | # error "32 bit int type not found." |
113 | # endif | 117 | # endif |
118 | /* | ||
114 | # if (SIZEOF_LONG_INT == 8) | 119 | # if (SIZEOF_LONG_INT == 8) |
115 | typedef unsigned long int u_int64_t; | 120 | typedef unsigned long int u_int64_t; |
116 | # else | 121 | # else |
@@ -121,6 +126,7 @@ typedef unsigned long long int u_int64_t; | |||
121 | # error "64 bit int type not found." | 126 | # error "64 bit int type not found." |
122 | # endif | 127 | # endif |
123 | # endif | 128 | # endif |
129 | */ | ||
124 | # endif | 130 | # endif |
125 | #endif | 131 | #endif |
126 | 132 | ||