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

« back to all changes in this revision

Viewing changes to .pc/aarch64.patch/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)     \
337
338
 
338
339
#endif /* ARM */
339
340
 
340
 
 
 
341
#if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_))
 
342
#define WTF_CPU_MIPS 1
 
343
#include <sgidefs.h>
 
344
#if defined(__MIPSEB__)
 
345
#define WTF_CPU_BIG_ENDIAN 1
 
346
#endif
 
347
/* CPU(MIPS64) - MIPS 64-bit both BIG and LITTLE endian */
 
348
#if defined(_MIPS_SIM_ABI64) && (_MIPS_SIM == _MIPS_SIM_ABI64)
 
349
#define WTF_CPU_MIPS64 1
 
350
#endif
 
351
 
 
352
/* CPU(MIPSN32) - MIPS N32 ABI both BIG and LITTLE endian */
 
353
#if defined(_MIPS_SIM_ABIN32) && (_MIPS_SIM == _MIPS_SIM_ABIN32)
 
354
#define WTF_CPU_MIPSN32 1
 
355
#endif
 
356
 
 
357
/* CPU(MIPS32) - MIPS O32 ABI both BIG and LITTLE endian */
 
358
#if defined(_MIPS_SIM_ABI32) && (_MIPS_SIM == _MIPS_SIM_ABI32)
 
359
#define WTF_CPU_MIPS32 1
 
360
#endif
 
361
#endif /* __mips__ */
341
362
 
342
363
/* ==== OS() - underlying operating system; only to be used for mandated low-level services like 
343
364
   virtual memory, not to choose a GUI toolkit ==== */
464
485
    || defined(__unix)      \
465
486
    || defined(__unix__)
466
487
#define WTF_OS_UNIX 1
 
488
 
467
489
#endif
468
490
 
469
491
/* Operating environments */
655
677
#endif
656
678
 
657
679
#if PLATFORM(ANDROID)
 
680
#if !PLATFORM(QT)
658
681
#define WTF_USE_PTHREADS 1
 
682
#define ENABLE_MAC_JAVA_BRIDGE 1
 
683
#define ENABLE_JAVASCRIPT_DEBUGGER 0
 
684
#endif /* !PLATFORM(QT) */
659
685
#define WTF_PLATFORM_SGL 1
660
686
#define USE_SYSTEM_MALLOC 1
661
 
#define ENABLE_MAC_JAVA_BRIDGE 1
662
687
#define LOG_DISABLED 1
663
688
/* Prevents Webkit from drawing the caret in textfields and textareas
664
689
   This prevents unnecessary invals. */
665
690
#define ENABLE_TEXT_CARET 1
666
 
#define ENABLE_JAVASCRIPT_DEBUGGER 0
667
 
#endif
 
691
#endif /* PLATFORM(ANDROID) */
668
692
 
669
693
#if PLATFORM(WIN)
670
694
#define WTF_USE_WININET 1
885
909
#endif
886
910
 
887
911
#if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
888
 
#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)
 
912
#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)
889
913
#define WTF_USE_JSVALUE64 1
890
914
#elif CPU(ARM) || CPU(PPC64)
891
915
#define WTF_USE_JSVALUE32 1