[commit: ghc] master: Fix the DYNAMIC_GHC_PROGRAMS=NO build on Mac/Windows (9efa56d)

git at git.haskell.org git at git.haskell.org
Tue Oct 27 17:25:19 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9efa56dd26e0ec05823bd367e69e21da3c35af2b/ghc

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

commit 9efa56dd26e0ec05823bd367e69e21da3c35af2b
Author: Reid Barton <rwbarton at gmail.com>
Date:   Tue Oct 27 12:26:54 2015 -0500

    Fix the DYNAMIC_GHC_PROGRAMS=NO build on Mac/Windows
    
    LEADING_UNDERSCORE is defined in a header file, so we need to #include
    that file where we use LEADING_UNDERSCORE.
    
    Reviewed By: austin
    
    Differential Revision: https://phabricator.haskell.org/D1382


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

9efa56dd26e0ec05823bd367e69e21da3c35af2b
 rts/RtsSymbols.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rts/RtsSymbols.h b/rts/RtsSymbols.h
index cc02a98..10c158c 100644
--- a/rts/RtsSymbols.h
+++ b/rts/RtsSymbols.h
@@ -9,6 +9,7 @@
 #ifndef RTS_SYMBOLS_H
 #define RTS_SYMBOLS_H
 
+#include "ghcautoconf.h"
 
 #ifdef LEADING_UNDERSCORE
 #define MAYBE_LEADING_UNDERSCORE_STR(s) ("_" s)



More information about the ghc-commits mailing list