From: simonmar Date: Mon, 16 Aug 2004 11:17:20 +0000 (+0000) Subject: [project @ 2004-08-16 11:17:20 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1729 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d6174f50acdbc2197e81351e334317d0742f74f2;p=ghc-hetmet.git [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 --- 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