| Index: Source/wtf/CPU.h
|
| diff --git a/Source/wtf/CPU.h b/Source/wtf/CPU.h
|
| index eb32ca3e346cb785f9db4243f103bcdc83eb8b06..887862929a9183da590bd48eca99ceeb41cd52dd 100644
|
| --- a/Source/wtf/CPU.h
|
| +++ b/Source/wtf/CPU.h
|
| @@ -36,7 +36,8 @@
|
|
|
| /* ==== CPU() - the target CPU architecture ==== */
|
|
|
| -/* This also defines CPU(BIG_ENDIAN) or CPU(MIDDLE_ENDIAN) or neither, as appropriate. */
|
| +/* This defines CPU(BIG_ENDIAN) or nothing, as appropriate. */
|
| +/* This defines CPU(32BIT) or CPU(64BIT), as appropriate. */
|
|
|
| /* CPU(X86) - i386 / x86 32-bit */
|
| #if defined(__i386__) \
|
| @@ -51,6 +52,7 @@
|
| #if defined(__x86_64__) \
|
| || defined(_M_X64)
|
| #define WTF_CPU_X86_64 1
|
| +#define WTF_CPU_64BIT 1
|
| #endif
|
|
|
| /* CPU(ARM) - ARM, any version*/
|
| @@ -172,6 +174,10 @@
|
| #define WTF_CPU_APPLE_ARMV7S 1
|
| #endif
|
|
|
| +#if !defined(WTF_CPU_64BIT)
|
| +#define WTF_CPU_32BIT 1
|
| +#endif
|
| +
|
| #endif /* ARM */
|
|
|
| #endif /* WTF_CPU_h */
|
|
|