aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/int-util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/int-util.h b/src/common/int-util.h
index dcf28d38a..6207997fe 100644
--- a/src/common/int-util.h
+++ b/src/common/int-util.h
@@ -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