summaryrefslogtreecommitdiff
path: root/utils/touchy
diff options
context:
space:
mode:
authorBernard Desmyter <bernarddesmyter@gmail.com>2015-06-12 11:01:45 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-06-12 11:01:58 +0200
commitce53138ff0d156e9f229d0adab745d2d4cfaf582 (patch)
tree2bda5ea5eec9b74b57e8e6d33769dec12a25b4f2 /utils/touchy
parentc60704fc405149407c155e297433f1cc299ae58a (diff)
downloadhaskell-ce53138ff0d156e9f229d0adab745d2d4cfaf582.tar.gz
Delete _MSC_VER when not necessary, fix #10511
Simplify some preprocessor expressions involving `_MSC_VER` because `_WIN32` is always defined when `_MSC_VER` is. Differential Revision: https://phabricator.haskell.org/D981
Diffstat (limited to 'utils/touchy')
-rw-r--r--utils/touchy/touchy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/touchy/touchy.c b/utils/touchy/touchy.c
index a8ac14658d..88ababac01 100644
--- a/utils/touchy/touchy.c
+++ b/utils/touchy/touchy.c
@@ -2,7 +2,7 @@
* Simple 'touch' program for Windows
*
*/
-#if !defined(_MSC_VER) && !defined(_WIN32)
+#if !defined(_WIN32)
#error "Win32-only, the platform you're using is supposed to have 'touch' already."
#else
#include <stdio.h>