Some build fixes for FreeBSD.
* Drop endian.h; no longer needed as FreeBSD provides its own (and this conflicts with some other things later in the build.) * Needs libgnuregex; enable and adjust paths. Doesn't fully work yet. The fixes in the next commit for fat_shell plus some other build system tweaks are still needed.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#ifndef _HAIKU_BUILD_COMPATIBILITY_FREEBSD_ENDIAN
|
||||
#define _HAIKU_BUILD_COMPATIBILITY_FREEBSD_ENDIAN
|
||||
|
||||
|
||||
// There's no <endian.h> in FreeBSD, but <sys/endian.h>. And the macro naming
|
||||
// differs.
|
||||
|
||||
#include <sys/endian.h>
|
||||
|
||||
|
||||
#define __LITTLE_ENDIAN _LITTLE_ENDIAN
|
||||
#define __BIG_ENDIAN _BIG_ENDIAN
|
||||
#define __PDP_ENDIAN _PDP_ENDIAN
|
||||
#define BYTE_ORDER _BYTE_ORDER
|
||||
|
||||
#endif // _HAIKU_BUILD_COMPATIBILITY_FREEBSD_ENDIAN
|
||||
Reference in New Issue
Block a user