[project @ 2004-08-16 11:17:20 by simonmar]
authorsimonmar <unknown>
Mon, 16 Aug 2004 11:17:20 +0000 (11:17 +0000)
committersimonmar <unknown>
Mon, 16 Aug 2004 11:17:20 +0000 (11:17 +0000)
Add a config.h to ease the transition.  Now if you include config.h
you get a warning instead of a failure:

In file included from System/Posix/Internals.hs:24:
/playpen/ghc/nightly/HEAD-cam-02-unx/i386-unknown-linux/ghc/includes/config.h:4: warning: #warning config.h is deprecated; please use ghcconfig.h instead

ghc/includes/config.h [new file with mode: 0644]

diff --git a/ghc/includes/config.h b/ghc/includes/config.h
new file mode 100644 (file)
index 0000000..66e2ade
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+#warning config.h is deprecated; please use ghcconfig.h instead
+#include "ghcconfig.h"
+
+#endif