projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* support/scripts/sdcc.nsi:
[fw/sdcc]
/
src
/
common.h
diff --git
a/src/common.h
b/src/common.h
index ced0a15a2ebb5caadb8bc707f568cb2a1b1e49ce..d1a5b21fdbe97aacd770fea3da1e6cc6102d4a99 100644
(file)
--- a/
src/common.h
+++ b/
src/common.h
@@
-4,9
+4,19
@@
#include <string.h>
#include <assert.h>
#include <string.h>
#include <assert.h>
+
+#ifndef COMMON_H
+#define COMMON_H
+
+#if defined(__APPLE__) && (__MACH__)
+#ifdef _G
+#undef _G
+#endif
+#endif
+
#include "SDCCglobl.h"
#include "SDCCglobl.h"
-#include "SDCCast.h"
#include "SDCCmem.h"
#include "SDCCmem.h"
+#include "SDCCast.h"
#include "SDCCy.h"
#include "SDCChasht.h"
#include "SDCCbitv.h"
#include "SDCCy.h"
#include "SDCChasht.h"
#include "SDCCbitv.h"
@@
-21,11
+31,14
@@
#include "SDCClrange.h"
#include "SDCCptropt.h"
#include "SDCCopt.h"
#include "SDCClrange.h"
#include "SDCCptropt.h"
#include "SDCCopt.h"
+#include "SDCCglue.h"
+#include "SDCCpeeph.h"
+#include "SDCCdebug.h"
+#include "SDCCutil.h"
+#include "SDCCasm.h"
-#include "asm.h"
#include "port.h"
#include "port.h"
-#include "config.h"
-/*
-#include "SDCCralloc.h"
-*/
+#include "newalloc.h"
+
+#endif