146 // If this gets an error, figure out a symbol XXX that implies the |
146 // If this gets an error, figure out a symbol XXX that implies the |
147 // prior definition of intptr_t, and add "&& !defined(XXX)" above. |
147 // prior definition of intptr_t, and add "&& !defined(XXX)" above. |
148 #endif |
148 #endif |
149 #endif |
149 #endif |
150 |
150 |
|
151 // On solaris 8, UINTPTR_MAX is defined as empty. |
|
152 // Everywhere else it's an actual value. |
|
153 #if UINTPTR_MAX - 1 == -1 |
|
154 #undef UINTPTR_MAX |
|
155 #ifdef _LP64 |
|
156 #define UINTPTR_MAX UINT64_MAX |
|
157 #else |
|
158 #define UINTPTR_MAX UINT32_MAX |
|
159 #endif /* ifdef _LP64 */ |
|
160 #endif |
|
161 |
151 // Additional Java basic types |
162 // Additional Java basic types |
152 |
163 |
153 typedef unsigned char jubyte; |
164 typedef unsigned char jubyte; |
154 typedef unsigned short jushort; |
165 typedef unsigned short jushort; |
155 typedef unsigned int juint; |
166 typedef unsigned int juint; |