mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix endian detection on 32bit
When using the -std=c99 the gcc does not defines the i386 macro just the __i386 and __ i386 __. Fixes issue #355 JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
parent
9513808647
commit
021fc62652
3
third-party/fdlibm/include/fdlibm.h
vendored
3
third-party/fdlibm/include/fdlibm.h
vendored
@ -13,7 +13,8 @@
|
||||
/* Sometimes it's necessary to define __LITTLE_ENDIAN explicitly
|
||||
but these catch some common cases. */
|
||||
|
||||
#if defined(i386) || defined(i486) || \
|
||||
#if defined(i386) || defined(__i386) || defined(__i386__) || \
|
||||
defined(i486) || defined(__i486) || defined(__i486__) || \
|
||||
defined(intel) || defined(x86) || defined(i86pc) || \
|
||||
defined(__alpha) || defined(__osf__) || \
|
||||
defined(__x86_64__) || defined(__arm__)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user