Commit 040c96d8cea1201ce4df6d6f8a1e6c2852edbf49
- Diff rendering mode:
- inline
- side by side
JavaScriptCore/wtf/Platform.h
(17 / 1)
|   | |||
| 104 | 104 | #endif | |
| 105 | 105 | ||
| 106 | 106 | /* CPU(IA64) - Itanium / IA-64 */ | |
| 107 | #if defined(__ia64__) | ||
| 107 | #if defined(__ia64__) || defined(__ia64) || defined(_M_IA64) | ||
| 108 | 108 | #define WTF_CPU_IA64 1 | |
| 109 | 109 | /* 32-bit mode on Itanium */ | |
| 110 | 110 | #if !defined(__LP64__) | |
| 111 | 111 | #define WTF_CPU_IA64_32 1 | |
| 112 | 112 | #endif | |
| 113 | /* Itanium can be both big- and little-endian; | ||
| 114 | we need to determine at compile time which one it is. | ||
| 115 | - HP's aCC compiler only compiles big-endian (so HP-UXi is always big-endian) | ||
| 116 | - GCC defines __BIG_ENDIAN__ for us (default on HP-UX) | ||
| 117 | - Linux is usually little-endian | ||
| 118 | - I've never seen AIX or Windows on IA-64, but they should be little-endian too | ||
| 119 | */ | ||
| 120 | #if defined(__BIG_ENDIAN__) || defined(__HP_aCC) | ||
| 121 | # define WTF_CPU_BIG_ENDIAN 1 | ||
| 122 | #endif | ||
| 123 | #endif | ||
| 124 | |||
| 125 | /* CPU(HPPA) - a.k.a. PA-RISC */ | ||
| 126 | #if defined(__hppa) || defined(__hppa__) | ||
| 127 | #define WTF_CPU_HPPA 1 | ||
| 128 | #define WTF_CPU_BIG_ENDIAN 1 | ||
| 113 | 129 | #endif | |
| 114 | 130 | ||
| 115 | 131 | /* CPU(PPC) - PowerPC 32-bit */ |

