diff options
author | Tamar Christina <tamar@zhox.com> | 2019-06-16 21:53:53 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-07-15 16:41:01 -0400 |
commit | ceed994acd07259ef3a780ab440185dbb26fff09 (patch) | |
tree | 19ca36bf7231a547253122644ed18b765b1d32c0 /rts/rts.cabal.in | |
parent | 0e3c277a6c82c5ab529771c1c493d86e7eda0a98 (diff) | |
download | haskell-ceed994acd07259ef3a780ab440185dbb26fff09.tar.gz |
winio: Drop Windows Vista support, require Windows 7
Diffstat (limited to 'rts/rts.cabal.in')
-rw-r--r-- | rts/rts.cabal.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rts/rts.cabal.in b/rts/rts.cabal.in index 7895ae26f5..ebbd9a9e71 100644 --- a/rts/rts.cabal.in +++ b/rts/rts.cabal.in @@ -97,6 +97,14 @@ library dbghelp -- for process information psapi + -- 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 Windows 7+ + -- Adding this here means it doesn't have to be done in individual .c files + -- and also centralizes the versioning. + cpp-options: -D_WIN32_WINNT=0x06010000 + cc-options: -D_WIN32_WINNT=0x06010000 if flag(need-pthread) -- for pthread_getthreadid_np, pthread_create, ... extra-libraries: pthread |