
This doesn't fully work yet (the FS code in libroot_build needs to be adapted, as some of the symlink-related calls are not available on MinGW), but it gets much further than the "Cygwin" target did.
16 lines
313 B
C
16 lines
313 B
C
#ifndef _HAIKU_BUILD_COMPATIBILITY_MINGW_ENDIAN
|
|
#define _HAIKU_BUILD_COMPATIBILITY_MINGW_ENDIAN
|
|
|
|
|
|
// There's no <endian.h> in MinGW.
|
|
|
|
#include <sys/param.h>
|
|
|
|
#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
|
#define __BIG_ENDIAN BIG_ENDIAN
|
|
|
|
#define __BYTE_ORDER BYTE_ORDER
|
|
|
|
|
|
#endif // _HAIKU_BUILD_COMPATIBILITY_MINGW_ENDIAN
|