summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2019-06-16 21:53:53 +0100
committerBen Gamari <ben@smart-cactus.org>2020-07-15 16:41:01 -0400
commitceed994acd07259ef3a780ab440185dbb26fff09 (patch)
tree19ca36bf7231a547253122644ed18b765b1d32c0 /hadrian
parent0e3c277a6c82c5ab529771c1c493d86e7eda0a98 (diff)
downloadhaskell-ceed994acd07259ef3a780ab440185dbb26fff09.tar.gz
winio: Drop Windows Vista support, require Windows 7
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Packages.hs10
1 files changed, 0 insertions, 10 deletions
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs
index 8c9d7875d4..42e95f6664 100644
--- a/hadrian/src/Settings/Packages.hs
+++ b/hadrian/src/Settings/Packages.hs
@@ -368,7 +368,6 @@ rtsPackageArgs = package rts ? do
, input "**/RetainerProfile.c" ? flag CcLlvmBackend ?
arg "-Wno-incompatible-pointer-types"
- , windowsHost ? arg ("-DWINVER=" ++ windowsVersion)
-- libffi's ffi.h triggers various warnings
, inputs [ "**/Interpreter.c", "**/Storage.c", "**/Adjustor.c" ] ?
@@ -455,12 +454,3 @@ rtsWarnings = mconcat
, arg "-Wredundant-decls"
, arg "-Wundef"
, arg "-fno-strict-aliasing" ]
-
--- 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+
--- Adding this here means it doesn't have to be done in individual .c files
--- and also centralizes the versioning.
--- | Minimum supported Windows version.
-windowsVersion :: String
-windowsVersion = "0x06010000"