* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / support / cpp / config.h
index c1bbb06773d753f80019f51a5708f64dcc64e374..c6bbaa20c63a0e08557a379c145994b9b6024c9d 100644 (file)
@@ -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;