X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fcpp%2Fconfig.h;h=c6bbaa20c63a0e08557a379c145994b9b6024c9d;hb=eae1bd2f705a2c61e143c539f8c4d1e9c2b4efe6;hp=91bf22f71d0a1d8434e490f617b0e83bd1a04853;hpb=53ee26b0e562d0adec9e9d393c5c0188856b8b3f;p=fw%2Fsdcc diff --git a/support/cpp/config.h b/support/cpp/config.h index 91bf22f7..c6bbaa20 100644 --- a/support/cpp/config.h +++ b/support/cpp/config.h @@ -1,16 +1,11 @@ -#include "i386/i386.h" -#include "i386/xm-linux.h" - -#ifndef __BORLANDC__ -#define alloca malloc -#else -#include -#include -#define bcopy(s, d, n) memcpy(d, s, n) -#define bcmp memcmp -#define bzero(p, l) memset(p, 0, l) -#define index strchr -#define rindex strrchr -#endif - - +#include "auto-host.h" +/* Provide three core typedefs used by everything, if we are compiling + GCC. These used to be found in rtl.h and tree.h, but this is no + longer practical. Providing these here rather that system.h allows + the typedefs to be used everywhere within GCC. */ +struct rtx_def; +typedef struct rtx_def *rtx; +struct rtvec_def; +typedef struct rtvec_def *rtvec; +union tree_node; +typedef union tree_node *tree;