diff options
author | Matt Little <zone117x@gmail.com> | 2018-01-27 13:33:11 -0700 |
---|---|---|
committer | Matt Little <zone117x@gmail.com> | 2018-01-27 13:33:11 -0700 |
commit | 1dfed567e24dab9002af0e87f8005dd809d2b944 (patch) | |
tree | 01f8bd7eeacd202196e431556f5aed553cb3557e | |
parent | Support building cncrypto lib with msvc (diff) | |
download | monero-1dfed567e24dab9002af0e87f8005dd809d2b944.tar.xz |
Fixed #if instead of #ifdef
-rw-r--r-- | src/common/int-util.h | 6 |
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 |