summaryrefslogtreecommitdiff
path: root/compat/cbits/unicode.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/cbits/unicode.c')
-rw-r--r--compat/cbits/unicode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/cbits/unicode.c b/compat/cbits/unicode.c
new file mode 100644
index 0000000000..c744cc9436
--- /dev/null
+++ b/compat/cbits/unicode.c
@@ -0,0 +1,3 @@
+#if __GLASGOW_HASKELL__ < 604 || (__GLASGOW_HASKELL__==604 && __GHC_PATCHLEVEL__==0)
+#include "WCsubst.c"
+#endif