1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-19 15:27:10 +02:00

Added external hashing library.

This commit is contained in:
Sandu Liviu Catalin
2015-11-01 10:02:15 +02:00
parent 6b16059547
commit 1431cb9e1e
17 changed files with 2832 additions and 0 deletions

14
external/Common/endian.h vendored Normal file
View File

@ -0,0 +1,14 @@
#ifndef _ENDIAN_H_
#define _ENDIAN_H_
#if defined(__MINGW32__) || defined(__MINGW64__)
// Workaround for MinGW and it's lack of <endian.h> file
#define __BYTE_ORDER __BYTE_ORDER__
#define __LITTLE_ENDIAN __ORDER_LITTLE_ENDIAN__
#define __BIG_ENDIAN __ORDER_BIG_ENDIAN__
#elif !defined(_MSC_VER)
// Just include the system file
#include <endian.h>
#endif
#endif // _ENDIAN_H_