X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fcommon.h;h=d1a5b21fdbe97aacd770fea3da1e6cc6102d4a99;hb=bb226788dab3832b0ec0cda70874ce3fce4eebc6;hp=70ac2ebd6915404bae2af9cf3eb68e500bcb8b79;hpb=73476f5b8d61a27348c3c241e27285cbd4f0741d;p=fw%2Fsdcc diff --git a/src/common.h b/src/common.h index 70ac2ebd..d1a5b21f 100644 --- a/src/common.h +++ b/src/common.h @@ -4,6 +4,16 @@ #include #include + +#ifndef COMMON_H +#define COMMON_H + +#if defined(__APPLE__) && (__MACH__) +#ifdef _G +#undef _G +#endif +#endif + #include "SDCCglobl.h" #include "SDCCmem.h" #include "SDCCast.h" @@ -23,6 +33,12 @@ #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 "newalloc.h" + +#endif