aboutsummaryrefslogtreecommitdiff
path: root/src/common/int-util.h
diff options
context:
space:
mode:
authorMatt Little <zone117x@gmail.com>2018-01-27 13:33:11 -0700
committerMatt Little <zone117x@gmail.com>2018-01-27 13:33:11 -0700
commit1dfed567e24dab9002af0e87f8005dd809d2b944 (patch)
tree01f8bd7eeacd202196e431556f5aed553cb3557e /src/common/int-util.h
parentSupport building cncrypto lib with msvc (diff)
downloadmonero-1dfed567e24dab9002af0e87f8005dd809d2b944.tar.xz
Fixed #if instead of #ifdef
Diffstat (limited to '')
-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