mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 699170 - Tons of JS_* redefined warnings on mingw r=ted
This commit is contained in:
parent
545ad4011b
commit
a3a1968a0b
@ -47,10 +47,10 @@
|
|||||||
#if defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)
|
#if defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)
|
||||||
#define IS_LITTLE_ENDIAN 1
|
#define IS_LITTLE_ENDIAN 1
|
||||||
#undef IS_BIG_ENDIAN
|
#undef IS_BIG_ENDIAN
|
||||||
#define JS_BYTES_PER_DOUBLE 8L
|
#define JS_BYTES_PER_DOUBLE 8
|
||||||
#define JS_BYTES_PER_WORD 8L
|
#define JS_BYTES_PER_WORD 8
|
||||||
#define JS_BITS_PER_WORD_LOG2 6
|
#define JS_BITS_PER_WORD_LOG2 6
|
||||||
#define JS_ALIGN_OF_POINTER 8L
|
#define JS_ALIGN_OF_POINTER 8
|
||||||
#else /* !(defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)) */
|
#else /* !(defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)) */
|
||||||
#error "CPU type is unknown"
|
#error "CPU type is unknown"
|
||||||
#endif /* !(defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)) */
|
#endif /* !(defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)) */
|
||||||
@ -63,10 +63,10 @@
|
|||||||
|
|
||||||
#define IS_LITTLE_ENDIAN 1
|
#define IS_LITTLE_ENDIAN 1
|
||||||
#undef IS_BIG_ENDIAN
|
#undef IS_BIG_ENDIAN
|
||||||
#define JS_BYTES_PER_DOUBLE 8L
|
#define JS_BYTES_PER_DOUBLE 8
|
||||||
#define JS_BYTES_PER_WORD 4L
|
#define JS_BYTES_PER_WORD 4
|
||||||
#define JS_BITS_PER_WORD_LOG2 5
|
#define JS_BITS_PER_WORD_LOG2 5
|
||||||
#define JS_ALIGN_OF_POINTER 4L
|
#define JS_ALIGN_OF_POINTER 4
|
||||||
|
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#if __LITTLE_ENDIAN__
|
#if __LITTLE_ENDIAN__
|
||||||
|
Loading…
Reference in New Issue
Block a user