* as/z80/z80mch.c: fixed bug #1704376: missing as-z80 errors
[fw/sdcc] / support / cpp / config.h
index 2f5e72be565c122a6800c9190a8f5e55cf128c7a..c6bbaa20c63a0e08557a379c145994b9b6024c9d 100644 (file)
@@ -1,30 +1,11 @@
-#if defined(_MSC_VER)
-
-#include <stdlib.h>
-#include "i386/i386.h"
-#include "i386/xm-i386.h"
-#define alloca(x) Safe_calloc(1,(x))
-#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
-
-#else
-
-#include "i386/i386.h"
-#include "i386/xm-linux.h"
-
-#ifndef __BORLANDC__
-#define alloca(x) Safe_calloc(1,(x))
-#else
-#include <string.h>
-#include <stdlib.h>
-#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
-
-#endif  // _MSC_VER
\ No newline at end of file
+#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;