Further file shuffling and finally builds.

This commit is contained in:
Sandu Liviu Catalin committed 2020-03-21 22:58:50 +02:00
1 parent c00b943a90
commit a5c87bae5e
57 files changed
+461 -1181

No files matched your search

+14
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_