mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
fix compilation error
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@558 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
2
external/fdlibm/math.h
vendored
2
external/fdlibm/math.h
vendored
@@ -17,8 +17,10 @@
|
||||
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__
|
||||
#ifndef __LITTLE_ENDIAN
|
||||
#define __LITTLE_ENDIAN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
#define __HI(x) *(1 + (int*)&x)
|
||||
|
||||
Reference in New Issue
Block a user