From d6174f50acdbc2197e81351e334317d0742f74f2 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 16 Aug 2004 11:17:20 +0000 Subject: [PATCH] [project @ 2004-08-16 11:17:20 by simonmar] 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 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ghc/includes/config.h diff --git a/ghc/includes/config.h b/ghc/includes/config.h new file mode 100644 index 0000000..66e2ade --- /dev/null +++ b/ghc/includes/config.h @@ -0,0 +1,7 @@ +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + +#warning config.h is deprecated; please use ghcconfig.h instead +#include "ghcconfig.h" + +#endif -- 1.7.10.4