fix compilation error

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@558 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-01 15:50:39 +00:00
parent 7f523a3d76
commit 833fe1fc2c

View File

@@ -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)