~ubuntu-branches/ubuntu/trusty/qtscript-opensource-src/trusty

« back to all changes in this revision

Viewing changes to src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2014-03-10 14:30:51 UTC
  • mfrom: (1.1.4) (5.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20140310143051-6rr67kxeqic3zern
Tags: 5.2.1+dfsg-1ubuntu1
* debian/patches/aarch64.patch
  - Needed to fix arm64 FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
#define WTF_CPU_BIG_ENDIAN 1
202
202
#endif
203
203
 
 
204
 
204
205
/* CPU(X86) - i386 / x86 32-bit */
205
206
#if   defined(__i386__) \
206
207
    || defined(i386)     \
338
339
#endif /* ARM */
339
340
 
340
341
#if defined(__aarch64__)
341
 
#define WTF_CPU_AARCH64 1
342
 
#endif
 
342
#define WTF_CPU_ARM64 1
 
343
#endif
 
344
 
 
345
#if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_))
 
346
#define WTF_CPU_MIPS 1
 
347
#include <sgidefs.h>
 
348
#if defined(__MIPSEB__)
 
349
#define WTF_CPU_BIG_ENDIAN 1
 
350
#endif
 
351
/* CPU(MIPS64) - MIPS 64-bit both BIG and LITTLE endian */
 
352
#if defined(_MIPS_SIM_ABI64) && (_MIPS_SIM == _MIPS_SIM_ABI64)
 
353
#define WTF_CPU_MIPS64 1
 
354
#endif
 
355
 
 
356
/* CPU(MIPSN32) - MIPS N32 ABI both BIG and LITTLE endian */
 
357
#if defined(_MIPS_SIM_ABIN32) && (_MIPS_SIM == _MIPS_SIM_ABIN32)
 
358
#define WTF_CPU_MIPSN32 1
 
359
#endif
 
360
 
 
361
/* CPU(MIPS32) - MIPS O32 ABI both BIG and LITTLE endian */
 
362
#if defined(_MIPS_SIM_ABI32) && (_MIPS_SIM == _MIPS_SIM_ABI32)
 
363
#define WTF_CPU_MIPS32 1
 
364
#endif
 
365
#endif /* __mips__ */
343
366
 
344
367
/* ==== OS() - underlying operating system; only to be used for mandated low-level services like 
345
368
   virtual memory, not to choose a GUI toolkit ==== */
466
489
    || defined(__unix)      \
467
490
    || defined(__unix__)
468
491
#define WTF_OS_UNIX 1
 
492
 
469
493
#endif
470
494
 
471
495
/* Operating environments */
657
681
#endif
658
682
 
659
683
#if PLATFORM(ANDROID)
 
684
#if !PLATFORM(QT)
660
685
#define WTF_USE_PTHREADS 1
 
686
#define ENABLE_MAC_JAVA_BRIDGE 1
 
687
#define ENABLE_JAVASCRIPT_DEBUGGER 0
 
688
#endif /* !PLATFORM(QT) */
661
689
#define WTF_PLATFORM_SGL 1
662
690
#define USE_SYSTEM_MALLOC 1
663
 
#define ENABLE_MAC_JAVA_BRIDGE 1
664
691
#define LOG_DISABLED 1
665
692
/* Prevents Webkit from drawing the caret in textfields and textareas
666
693
   This prevents unnecessary invals. */
667
694
#define ENABLE_TEXT_CARET 1
668
 
#define ENABLE_JAVASCRIPT_DEBUGGER 0
669
 
#endif
 
695
#endif /* PLATFORM(ANDROID) */
670
696
 
671
697
#if PLATFORM(WIN)
672
698
#define WTF_USE_WININET 1
887
913
#endif
888
914
 
889
915
#if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
890
 
#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(S390X) || CPU(AARCH64)
 
916
#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(S390X) || CPU(ARM64)
891
917
#define WTF_USE_JSVALUE64 1
892
918
#elif CPU(ARM) || CPU(PPC64)
893
919
#define WTF_USE_JSVALUE32 1