Fixed #if instead of #ifdef

This commit is contained in:
Matt Little 2018-01-27 13:33:11 -07:00
parent 7c4424531f
commit 1dfed567e2
1 changed files with 3 additions and 3 deletions

View File

@ -209,9 +209,9 @@ static inline void memcpy_swap64(void *dst, const void *src, size_t n) {
}
}
#if _MSC_VER
# define LITTLE_ENDIAN 1234
# define BIG_ENDIAN 4321
#ifdef _MSC_VER
# define LITTLE_ENDIAN 1234
# define BIG_ENDIAN 4321
# define BYTE_ORDER LITTLE_ENDIAN
#endif