| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004, 2005 by | 2 * Copyright (c) 2004, 2005 by |
| 3 * Ralf Corsepius, Ulm/Germany. All rights reserved. | 3 * Ralf Corsepius, Ulm/Germany. All rights reserved. |
| 4 * | 4 * |
| 5 * Permission to use, copy, modify, and distribute this software | 5 * Permission to use, copy, modify, and distribute this software |
| 6 * is freely granted, provided that this notice is preserved. | 6 * is freely granted, provided that this notice is preserved. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef _STDINT_H | 9 #ifndef _STDINT_H |
| 10 #define _STDINT_H | 10 #define _STDINT_H |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 typedef __UINTMAX_TYPE__ uintmax_t; | 183 typedef __UINTMAX_TYPE__ uintmax_t; |
| 184 #elif __have_longlong64 | 184 #elif __have_longlong64 |
| 185 typedef unsigned long long uintmax_t; | 185 typedef unsigned long long uintmax_t; |
| 186 #else | 186 #else |
| 187 typedef unsigned long uintmax_t; | 187 typedef unsigned long uintmax_t; |
| 188 #endif | 188 #endif |
| 189 | 189 |
| 190 typedef __intptr_t intptr_t; | 190 typedef __intptr_t intptr_t; |
| 191 typedef __uintptr_t uintptr_t; | 191 typedef __uintptr_t uintptr_t; |
| 192 | 192 |
| 193 #ifdef __INTPTR_TYPE__ | 193 #if defined(__INTPTR_TYPE__) && defined(__INTPTR_MAX__) && defined(__UINTPTR_MAX
__) |
| 194 #define INTPTR_MIN (-__INTPTR_MAX__ - 1) | 194 #define INTPTR_MIN (-__INTPTR_MAX__ - 1) |
| 195 #define INTPTR_MAX __INTPTR_MAX__ | 195 #define INTPTR_MAX __INTPTR_MAX__ |
| 196 #define UINTPTR_MAX __UINTPTR_MAX__ | 196 #define UINTPTR_MAX __UINTPTR_MAX__ |
| 197 #elif defined(__PTRDIFF_TYPE__) | 197 #elif defined(__PTRDIFF_TYPE__) |
| 198 #define INTPTR_MAX PTRDIFF_MAX | 198 #define INTPTR_MAX PTRDIFF_MAX |
| 199 #define INTPTR_MIN PTRDIFF_MIN | 199 #define INTPTR_MIN PTRDIFF_MIN |
| 200 #ifdef __UINTPTR_MAX__ | 200 #ifdef __UINTPTR_MAX__ |
| 201 #define UINTPTR_MAX __UINTPTR_MAX__ | 201 #define UINTPTR_MAX __UINTPTR_MAX__ |
| 202 #else | 202 #else |
| 203 #define UINTPTR_MAX (2UL * PTRDIFF_MAX + 1) | 203 #define UINTPTR_MAX (2UL * PTRDIFF_MAX + 1) |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 #define UINTMAX_C(x) x##ULL | 527 #define UINTMAX_C(x) x##ULL |
| 528 #endif | 528 #endif |
| 529 #endif | 529 #endif |
| 530 | 530 |
| 531 | 531 |
| 532 #ifdef __cplusplus | 532 #ifdef __cplusplus |
| 533 } | 533 } |
| 534 #endif | 534 #endif |
| 535 | 535 |
| 536 #endif /* _STDINT_H */ | 536 #endif /* _STDINT_H */ |
| OLD | NEW |