[commit: ghc] wip/nfs-locking: Add comments. (d4e44fb)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:54:27 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/d4e44fb28e3487c00fb375e4a528f97cab720c53/ghc

>---------------------------------------------------------------

commit d4e44fb28e3487c00fb375e4a528f97cab720c53
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Tue Jan 5 10:29:30 2016 +0000

    Add comments.


>---------------------------------------------------------------

d4e44fb28e3487c00fb375e4a528f97cab720c53
 src/Settings/Packages/Rts.hs | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/Settings/Packages/Rts.hs b/src/Settings/Packages/Rts.hs
index eb74eea..d300e5a 100644
--- a/src/Settings/Packages/Rts.hs
+++ b/src/Settings/Packages/Rts.hs
@@ -89,6 +89,14 @@ rtsPackageArgs = package rts ? do
           , arg "-DFFI_LIB_DIR="
           , arg $ "-DFFI_LIB=" ++ quote libffiName ] ]
 
+
+-- # If we're compiling on windows, enforce that we only support XP+
+-- # 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)
+-- endif
+
 -- #-----------------------------------------------------------------------------
 -- # Use system provided libffi
 



More information about the ghc-commits mailing list