Patch by Morgan Howe (slightly modified): Several changes to support

building on Mac OS X (Darwin). A problem with makebootable remains.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21165 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-05-18 15:59:04 +00:00
parent 354543fa8b
commit 6dcd0ccf23
13 changed files with 66 additions and 17 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef _HAIKU_BUILD_COMPATIBILITY_DARWIN_ENDIAN
#define _HAIKU_BUILD_COMPATIBILITY_DARWIN_ENDIAN
#include <machine/endian.h>
#define __LITTLE_ENDIAN LITTLE_ENDIAN
#define __BIG_ENDIAN BIG_ENDIAN
#define __PDP_ENDIAN PDP_ENDIAN
#endif // _HAIKU_BUILD_COMPATIBILITY_DARWIN_ENDIAN
+16
View File
@@ -0,0 +1,16 @@
#ifndef _HAIKU_BUILD_COMPATIBILITY_DARWIN_REGEX
#define _HAIKU_BUILD_COMPATIBILITY_DARWIN_REGEX
// Include the darwin port of gnuregex
#ifdef __cplusplus
extern "C" {
#endif
#include </opt/local/include/gnuregex.h>
#ifdef __cplusplus
}
#endif
#endif // _HAIKU_BUILD_COMPATIBILITY_DARWIN_REGEX