WTF
Go to the documentation of this file. 27 #ifndef WTF_Platform_h 28 #define WTF_Platform_h 31 #ifndef BUILDING_KDE__ 32 #define BUILDING_KDE__ 1 37 #define PLATFORM(WTF_FEATURE) (WTF_PLATFORM_##WTF_FEATURE) 38 #define COMPILER(WTF_FEATURE) (WTF_COMPILER_##WTF_FEATURE) 39 #define HAVE(WTF_FEATURE) (HAVE_##WTF_FEATURE) 40 #define USE(WTF_FEATURE) (WTF_USE_##WTF_FEATURE) 41 #define ENABLE(WTF_FEATURE) (ENABLE_##WTF_FEATURE) 43 #define PLATFORM(WTF_FEATURE) (defined(WTF_PLATFORM_##WTF_FEATURE) && WTF_PLATFORM_##WTF_FEATURE) 44 #define COMPILER(WTF_FEATURE) (defined(WTF_COMPILER_##WTF_FEATURE) && WTF_COMPILER_##WTF_FEATURE) 45 #define HAVE(WTF_FEATURE) (defined(HAVE_##WTF_FEATURE) && HAVE_##WTF_FEATURE) 46 #define USE(WTF_FEATURE) (defined(WTF_USE_##WTF_FEATURE) && WTF_USE_##WTF_FEATURE) 47 #define ENABLE(WTF_FEATURE) (defined(ENABLE_##WTF_FEATURE) && ENABLE_##WTF_FEATURE) 56 #define WTF_PLATFORM_DARWIN 1 62 #if defined(WIN32) || defined(_WIN32) 63 #define WTF_PLATFORM_WIN_OS 1 70 #if defined(__APPLE__) \ 73 || defined(__unix__) \ 74 || defined (__NetBSD__) \ 76 #define WTF_PLATFORM_UNIX 1 83 #if defined(__sun) || defined(sun) 84 #define WTF_PLATFORM_SOLARIS_OS 1 95 #define WTF_PLATFORM_KDE 1 96 #elif PLATFORM(DARWIN) 97 #define WTF_PLATFORM_MAC 1 98 #elif PLATFORM(WIN_OS) 99 #define WTF_PLATFORM_WIN 1 101 #if defined(BUILDING_GDK__) 102 #define WTF_PLATFORM_GDK 1 109 #if defined(__s390x__) 110 #define WTF_PLATFORM_S390X 1 111 #define WTF_PLATFORM_BIG_ENDIAN 1 115 #if defined(__s390__) 116 #define WTF_PLATFORM_S390 1 117 #define WTF_PLATFORM_BIG_ENDIAN 1 121 #if defined(__ppc__) \ 122 || defined(__PPC__) \ 123 || defined(__powerpc__) \ 124 || defined(__powerpc) \ 125 || defined(__POWERPC__) \ 128 #define WTF_PLATFORM_PPC 1 129 #define WTF_PLATFORM_BIG_ENDIAN 1 133 #if defined(__ppc64__) \ 134 || defined(__PPC64__) 135 #define WTF_PLATFORM_PPC64 1 136 #define WTF_PLATFORM_BIG_ENDIAN 1 140 #define WTF_PLATFORM_ARM 1 141 #if defined(__ARMEB__) 142 #define WTF_PLATFORM_BIG_ENDIAN 1 143 #elif !defined(__ARM_EABI__) && !defined(__ARMEB__) 144 #define WTF_PLATFORM_MIDDLE_ENDIAN 1 146 #if !defined(__ARM_EABI__) 147 #define WTF_PLATFORM_FORCE_PACK 1 152 #if defined(__i386__) \ 154 || defined(_M_IX86) \ 156 || defined(__THW_INTEL) 157 #define WTF_PLATFORM_X86 1 161 #if defined(__x86_64__) \ 163 #define WTF_PLATFORM_X86_64 1 168 #define WTF_PLATFORM_SPARC 1 174 #if defined(__MWERKS__) 175 #define WTF_COMPILER_CWP 1 179 #if defined(_MSC_VER) 180 #define WTF_COMPILER_MSVC 1 184 #if defined(__GNUC__) 185 #define WTF_COMPILER_GCC 1 189 #if defined(__SUNPRO_CC) 190 #define WTF_COMPILER_SUNPRO 1 195 #if defined(__BORLANDC__) 196 #define WTF_COMPILER_BORLAND 1 201 #if defined(__CYGWIN__) 202 #define WTF_COMPILER_CYGWIN 1 207 #ifndef WTF_USE_MULTIPLE_THREADS 208 #define WTF_USE_MULTIPLE_THREADS 1 210 #ifndef WTF_USE_BINDINGS 211 #define WTF_USE_BINDINGS 1 216 #if PLATFORM(KDE) || PLATFORM(QT) 217 #define WTF_USE_QT4_UNICODE 1 218 #elif PLATFORM(SYMBIAN) 219 #define WTF_USE_SYMBIAN_UNICODE 1 221 #define WTF_USE_ICU_UNICODE 1 225 #define WTF_PLATFORM_CF 1 229 #define WTF_USE_WININET 1 233 #define WTF_USE_CURL 1
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Wed May 11 2016 01:40:01 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.