fix compilation error
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@558 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
7f523a3d76
commit
833fe1fc2c
1 changed files with 2 additions and 0 deletions
2
external/fdlibm/math.h
vendored
2
external/fdlibm/math.h
vendored
|
|
@ -17,8 +17,10 @@
|
||||||
but these catch some common cases. */
|
but these catch some common cases. */
|
||||||
|
|
||||||
#if defined(__WATCOMC__) || defined(_MSC_VER) || defined(i386) || defined(i486) || defined(intel) || defined(x86) || defined(i86pc) || defined(__alpha) || defined(__osf__) || __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
#if defined(__WATCOMC__) || defined(_MSC_VER) || defined(i386) || defined(i486) || defined(intel) || defined(x86) || defined(i86pc) || defined(__alpha) || defined(__osf__) || __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||||
|
#ifndef __LITTLE_ENDIAN
|
||||||
#define __LITTLE_ENDIAN
|
#define __LITTLE_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __LITTLE_ENDIAN
|
#ifdef __LITTLE_ENDIAN
|
||||||
#define __HI(x) *(1 + (int*)&x)
|
#define __HI(x) *(1 + (int*)&x)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue