X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fcpp%2Fconfig.h;h=c6bbaa20c63a0e08557a379c145994b9b6024c9d;hb=3cc3afec47c3120261483ee052a8505a8d00db0b;hp=c1bbb06773d753f80019f51a5708f64dcc64e374;hpb=b09af35f2f1cde7649d3ac4a6f5d2af6d97895a0;p=fw%2Fsdcc diff --git a/support/cpp/config.h b/support/cpp/config.h index c1bbb067..c6bbaa20 100644 --- a/support/cpp/config.h +++ b/support/cpp/config.h @@ -1,4 +1,11 @@ -#include "i386/i386.h" -#include "i386/xm-linux.h" - -#define alloca malloc +#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;