aboutsummaryrefslogtreecommitdiff
path: root/zencore/sha1.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-12-16 09:29:26 +0100
committerMartin Ridgers <[email protected]>2021-12-16 09:35:51 +0100
commit130b8875ff43a6744fa097472fbce03a36ff97d7 (patch)
treed67292da2b775aca3468728c27481cecda7996de /zencore/sha1.cpp
parentGetThreadId() for Mac (diff)
downloadzen-130b8875ff43a6744fa097472fbce03a36ff97d7.tar.xz
zen-130b8875ff43a6744fa097472fbce03a36ff97d7.zip
Only Linux has an endian.h
Diffstat (limited to 'zencore/sha1.cpp')
-rw-r--r--zencore/sha1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/sha1.cpp b/zencore/sha1.cpp
index 8b4e7897f..66e01f232 100644
--- a/zencore/sha1.cpp
+++ b/zencore/sha1.cpp
@@ -12,7 +12,7 @@
#include <string.h>
// big endian architectures need #define __BYTE_ORDER __BIG_ENDIAN
-#ifndef _MSC_VER
+#if ZEN_PLATFORM_LINUX
# include <endian.h>
#endif