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