Fixed #if instead of #ifdef

This commit is contained in:
Matt Little 2018-01-27 13:33:11 -07:00
parent 7c4424531f
commit 1dfed567e2

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