diff options
author | chai <chaifix@163.com> | 2018-05-17 21:02:44 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-17 21:02:44 +0800 |
commit | 38818e2abc0fb4e8f71f2c262f10ef5cb7fc4710 (patch) | |
tree | 5dc25dc50d0436f6e9be10d8956feed51679de95 /src/utils/endian.h | |
parent | 9edf2ba9fe8524976d2f298767fff0149e8c0d41 (diff) |
change file tree
Diffstat (limited to 'src/utils/endian.h')
-rw-r--r-- | src/utils/endian.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/utils/endian.h b/src/utils/endian.h deleted file mode 100644 index df28ddb..0000000 --- a/src/utils/endian.h +++ /dev/null @@ -1,26 +0,0 @@ -/** -* -*/ -#ifndef JIN_LIL_ENDIAN && JIN_BIG_ENDIAN - -#define JIN_LIL_ENDIAN 2 -#define JIN_BIG_ENDIAN 4 - -#endif - -#ifndef JIN_BYTEORDER -#ifdef __linux__ -#include <endian.h> -#define JIN_BYTEORDER __BYTE_ORDER -#else /* __linux__ */ -#if defined(__hppa__) || \ - defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \ - (defined(__MIPS__) && defined(__MISPEB__)) || \ - defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \ - defined(__sparc__) -#define JIN_BYTEORDER JIN_BIG_ENDIAN -#else -#define JIN_BYTEORDER JIN_LIL_ENDIAN -#endif -#endif /* __linux__ */ -#endif /* !SDL_BYTEORDER */
\ No newline at end of file |