summaryrefslogtreecommitdiff
path: root/compiler/cbits
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-08 00:27:17 +0000
committerIan Lynagh <igloo@earth.li>2008-07-08 00:27:17 +0000
commit2002bc3d77b9e601287cd0499c0f815ebc992ea0 (patch)
tree609aaf2ef554f672d81e63409af0a9346702fe83 /compiler/cbits
parent69adcec2c70afb3e940fae0a5c64589cfa09ad56 (diff)
downloadhaskell-2002bc3d77b9e601287cd0499c0f815ebc992ea0.tar.gz
Get rid of compat/
Compat.Unicode is not utils/Unicode in the compiler. We build the hpc package with the stage1 compiler. Nothing else in the compat package was still used.
Diffstat (limited to 'compiler/cbits')
-rw-r--r--compiler/cbits/unicode.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/cbits/unicode.c b/compiler/cbits/unicode.c
new file mode 100644
index 0000000000..c239e21c77
--- /dev/null
+++ b/compiler/cbits/unicode.c
@@ -0,0 +1,5 @@
+#if __GLASGOW_HASKELL__ < 605
+#if __GLASGOW_HASKELL__ != 604 || __GHC_PATCHLEVEL__ == 0
+#include "WCsubst.c"
+#endif
+#endif