Skip to content

Commit d4bf4b2

Browse files
committed
FIX: endian file in Windows
1 parent df2f554 commit d4bf4b2

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

hash-library/crc32.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#ifndef _MSC_VER
1111
#if __linux__
1212
#include <endian.h>
13+
#elif WINDOWS
1314
#else
1415
#include <machine/endian.h>
1516
#endif

hash-library/keccak.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#ifndef _MSC_VER
1111
#if __linux__
1212
#include <endian.h>
13+
#elif WINDOWS
1314
#else
1415
#include <machine/endian.h>
1516
#endif

hash-library/md5.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#ifndef _MSC_VER
1010
#if __linux__
1111
#include <endian.h>
12+
#elif WINDOWS
1213
#else
1314
#include <machine/endian.h>
1415
#endif

hash-library/sha1.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#ifndef _MSC_VER
1111
#if __linux__
1212
#include <endian.h>
13+
#elif WINDOWS
1314
#else
1415
#include <machine/endian.h>
1516
#endif

hash-library/sha256.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#ifndef _MSC_VER
1111
#if __linux__
1212
#include <endian.h>
13+
#elif WINDOWS
1314
#else
1415
#include <machine/endian.h>
1516
#endif

hash-library/sha3.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#ifndef _MSC_VER
1111
#if __linux__
1212
#include <endian.h>
13+
#elif WINDOWS
1314
#else
1415
#include <machine/endian.h>
1516
#endif

0 commit comments

Comments
 (0)