projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow for APPLE MACH compilation
[fw/sdcc]
/
support
/
cpp2
/
hashtable.h
diff --git
a/support/cpp2/hashtable.h
b/support/cpp2/hashtable.h
index 5b08fde25b630f7fcf8810f817bbe89ca9a29a30..b45d5912dbd03a0601b484ab8a6bdf6ad3960e5b 100644
(file)
--- a/
support/cpp2/hashtable.h
+++ b/
support/cpp2/hashtable.h
@@
-18,7
+18,11
@@
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef GCC_HASHTABLE_H
#define GCC_HASHTABLE_H
#ifndef GCC_HASHTABLE_H
#define GCC_HASHTABLE_H
+#if defined(__APPLE__) && defined(__MACH__)
+#include "libiberty/obstack.h"
+#else
#include "obstack.h"
#include "obstack.h"
+#endif
/* This is what each hash table entry points to. It may be embedded
deeply within another object. */
/* This is what each hash table entry points to. It may be embedded
deeply within another object. */