From b6e72e93a2e3baef86011b6b1eb5e069af28fe2e Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Mon, 22 Feb 2016 22:00:44 +0200 Subject: [PATCH] Incorporated the hash project into the module project. --- cbp/Hash.cbp | 182 --------------------- cbp/Module.cbp | 17 +- cbp/Sandbox.cbp | 1 - {external/Hash => config/mingw32}/endian.h | 0 config/mingw64/endian.h | 14 ++ 5 files changed, 30 insertions(+), 184 deletions(-) delete mode 100644 cbp/Hash.cbp rename {external/Hash => config/mingw32}/endian.h (100%) create mode 100644 config/mingw64/endian.h diff --git a/cbp/Hash.cbp b/cbp/Hash.cbp deleted file mode 100644 index 243a9207..00000000 --- a/cbp/Hash.cbp +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - diff --git a/cbp/Module.cbp b/cbp/Module.cbp index a6e3e874..5403bf32 100644 --- a/cbp/Module.cbp +++ b/cbp/Module.cbp @@ -194,8 +194,23 @@ - + + + + + + + + + + + + + + + + diff --git a/cbp/Sandbox.cbp b/cbp/Sandbox.cbp index b8f4905b..b1084fb5 100644 --- a/cbp/Sandbox.cbp +++ b/cbp/Sandbox.cbp @@ -160,7 +160,6 @@ - diff --git a/external/Hash/endian.h b/config/mingw32/endian.h similarity index 100% rename from external/Hash/endian.h rename to config/mingw32/endian.h diff --git a/config/mingw64/endian.h b/config/mingw64/endian.h new file mode 100644 index 00000000..120371d0 --- /dev/null +++ b/config/mingw64/endian.h @@ -0,0 +1,14 @@ +#ifndef _ENDIAN_H_ +#define _ENDIAN_H_ + +#if defined(__MINGW32__) || defined(__MINGW64__) + // Workaround for MinGW and it's lack of 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 +#endif + +#endif // _ENDIAN_H_ \ No newline at end of file