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(__linux__) | 27 #elif defined(__linux__) |
28 # include "unicode/plinux.h" | 28 # include "unicode/plinux.h" |
| 29 #elif defined(__FreeBSD__) |
| 30 # include "unicode/pfreebsd.h" |
29 #else | 31 #else |
30 # include "unicode/platform.h" | 32 # include "unicode/platform.h" |
31 #endif | 33 #endif |
32 | 34 |
33 /*===========================================================================*/ | 35 /*===========================================================================*/ |
34 /* Generic data types */ | 36 /* Generic data types */ |
35 /*===========================================================================*/ | 37 /*===========================================================================*/ |
36 | 38 |
37 /* If your platform does not have the <inttypes.h> header, you may | 39 /* If your platform does not have the <inttypes.h> header, you may |
38 need to edit the typedefs below. */ | 40 need to edit the typedefs below. */ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 #endif | 90 #endif |
89 | 91 |
90 #if ! U_HAVE_UINT64_T | 92 #if ! U_HAVE_UINT64_T |
91 typedef unsigned long long uint64_t; | 93 typedef unsigned long long uint64_t; |
92 /* else we may not have a 64-bit type */ | 94 /* else we may not have a 64-bit type */ |
93 #endif | 95 #endif |
94 | 96 |
95 #endif /* U_HAVE_INTTYPES_H */ | 97 #endif /* U_HAVE_INTTYPES_H */ |
96 | 98 |
97 #endif /* _PTYPES_H */ | 99 #endif /* _PTYPES_H */ |
OLD | NEW |