summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-07-16 10:56:54 -0400
committerBen Gamari <ben@smart-cactus.org>2020-07-16 10:56:54 -0400
commitc0979cc53442b3a6202acab9cf164f0a4beea0b7 (patch)
treed08b956887e69f9bd2959f1ac75cc2a2182f9a32 /rts/ghc.mk
parentae11bdfd98a10266bfc7de9e16b500be220307ac (diff)
parent2143c49273d7d87ee2f3ef1211856d60b1427af1 (diff)
downloadhaskell-c0979cc53442b3a6202acab9cf164f0a4beea0b7.tar.gz
Merge remote-tracking branch 'origin/wip/winio'
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 7e7747b485..32c49d9099 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -22,7 +22,7 @@ rts_VERSION = 1.0
# Minimum supported Windows version.
# These numbers can be found at:
# https://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx
-# If we're compiling on windows, enforce that we only support Vista SP1+
+# If we're compiling on windows, enforce that we only support Windows 7+
# Adding this here means it doesn't have to be done in individual .c files
# and also centralizes the versioning.
rts_WINVER = 0x06010000
@@ -205,7 +205,7 @@ rts_dist_$1_CC_OPTS += -DRtsWay=\"rts_$1\"
# Adding this here means it doesn't have to be done in individual .c files
# and also centralizes the versioning.
ifeq "$$(TargetOS_CPP)" "mingw32"
-rts_dist_$1_CC_OPTS += -DWINVER=$(rts_WINVER)
+rts_dist_$1_CC_OPTS += -D_WIN32_WINNT=$(rts_WINVER)
endif
ifneq "$$(UseSystemLibFFI)" "YES"