| OLD | NEW |
| 1 /* | 1 /* |
| 2 ****************************************************************************** | 2 ****************************************************************************** |
| 3 * | 3 * |
| 4 * Copyright (C) 1997-2010, International Business Machines | 4 * Copyright (C) 1997-2010, International Business Machines |
| 5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
| 6 * | 6 * |
| 7 ****************************************************************************** | 7 ****************************************************************************** |
| 8 * | 8 * |
| 9 * FILE NAME : ptypes.h | 9 * FILE NAME : ptypes.h |
| 10 * | 10 * |
| 11 * Date Name Description | 11 * Date Name Description |
| 12 * 05/13/98 nos Creation (content moved here from ptypes.h). | 12 * 05/13/98 nos Creation (content moved here from ptypes.h). |
| 13 * 03/02/99 stephen Added AS400 support. | 13 * 03/02/99 stephen Added AS400 support. |
| 14 * 03/30/99 stephen Added Linux support. | 14 * 03/30/99 stephen Added Linux support. |
| 15 * 04/13/99 stephen Reworked for autoconf. | 15 * 04/13/99 stephen Reworked for autoconf. |
| 16 * 09/18/08 srl Moved basic types back to ptypes.h from platform.h | 16 * 09/18/08 srl Moved basic types back to ptypes.h from platform.h |
| 17 ****************************************************************************** | 17 ****************************************************************************** |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #ifndef _PTYPES_H | 20 #ifndef _PTYPES_H |
| 21 #define _PTYPES_H | 21 #define _PTYPES_H |
| 22 | 22 |
| 23 #include <sys/types.h> | 23 #include <sys/types.h> |
| 24 | 24 |
| 25 #if defined(__APPLE__) | 25 #if defined(__APPLE__) |
| 26 # include "unicode/pmac.h" | 26 # include "unicode/pmac.h" |
| 27 #elif defined(ANDROID) | 27 #elif defined(ANDROID) |
| 28 # include "unicode/pandroid.h" | 28 # include "unicode/pandroid.h" |
| 29 #elif defined(__native_client__) |
| 30 # include "unicode/pnacl.h" |
| 29 #elif defined(__linux__) | 31 #elif defined(__linux__) |
| 30 # include "unicode/plinux.h" | 32 # include "unicode/plinux.h" |
| 31 #elif defined(__FreeBSD__) | 33 #elif defined(__FreeBSD__) |
| 32 # include "unicode/pfreebsd.h" | 34 # include "unicode/pfreebsd.h" |
| 33 #elif defined(__OpenBSD__) | 35 #elif defined(__OpenBSD__) |
| 34 # include "unicode/popenbsd.h" | 36 # include "unicode/popenbsd.h" |
| 35 #else | 37 #else |
| 36 # include "unicode/platform.h" | 38 # include "unicode/platform.h" |
| 37 #endif | 39 #endif |
| 38 | 40 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 #endif | 96 #endif |
| 95 | 97 |
| 96 #if ! U_HAVE_UINT64_T | 98 #if ! U_HAVE_UINT64_T |
| 97 typedef unsigned long long uint64_t; | 99 typedef unsigned long long uint64_t; |
| 98 /* else we may not have a 64-bit type */ | 100 /* else we may not have a 64-bit type */ |
| 99 #endif | 101 #endif |
| 100 | 102 |
| 101 #endif /* U_HAVE_INTTYPES_H */ | 103 #endif /* U_HAVE_INTTYPES_H */ |
| 102 | 104 |
| 103 #endif /* _PTYPES_H */ | 105 #endif /* _PTYPES_H */ |
| OLD | NEW |