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