summaryrefslogtreecommitdiff
path: root/utils/touchy
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2016-05-31 20:12:55 +0200
committerTamar Christina <tamar@zhox.com>2016-06-09 11:32:02 +0200
commit48385cb2fc295eb8af9188cbe140142c1807d5a7 (patch)
tree3f481bd6d33791dc32a995153b06ab16a6c120ca /utils/touchy
parent11ff1df8a7c25485c9c7508d65bcb380e592010d (diff)
downloadhaskell-48385cb2fc295eb8af9188cbe140142c1807d5a7.tar.gz
Remove special casing of Windows in generic files
Summary: Remove some Windows specific code from the .m4 files and have configure figure it out. Unfortunately touchy can't be removed since there is no mingw build of coreutils. Only msys builds which would give us a dependency on the msys runtime. Reviewers: hvr, austin, thomie, bgamari Reviewed By: thomie, bgamari Subscribers: thomie, erikd, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2248
Diffstat (limited to 'utils/touchy')
-rw-r--r--utils/touchy/touchy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/touchy/touchy.c b/utils/touchy/touchy.c
index 88ababac01..dbcf71277c 100644
--- a/utils/touchy/touchy.c
+++ b/utils/touchy/touchy.c
@@ -14,6 +14,11 @@
#include <windows.h>
/*
+touch is used by GHC both during building and during compilation of
+Haskell files. Unfortunately this means we need a 'touch' like program
+in the GHC bindist. Since touch is not standard on Windows and msys2
+doesn't include a mingw-w64 build of coreutils we need touchy for now.
+
With Windows 7 in a virtual box VM on OS X, some very odd things happen
with dates and time stamps when SSHing into cygwin. e.g. here the
"Change" time is in the past: