X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fcpp2%2Fconfig.h;h=c6bbaa20c63a0e08557a379c145994b9b6024c9d;hb=12df6a6b3e280cc0b788a2700d151cc5c13d3ae2;hp=476f7accc418fdb99d64535b87f55fa024576e50;hpb=1dee3f68905452521caecd9dd9cd01db4e47ed76;p=fw%2Fsdcc diff --git a/support/cpp2/config.h b/support/cpp2/config.h index 476f7acc..c6bbaa20 100644 --- a/support/cpp2/config.h +++ b/support/cpp2/config.h @@ -1,2 +1,11 @@ #include "auto-host.h" -#include "sdcc.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;