Fix the DYNAMIC_GHC_PROGRAMS=NO build on Mac/Windows
authorReid Barton <rwbarton@gmail.com>
Tue, 27 Oct 2015 17:26:54 +0000 (12:26 -0500)
committerAustin Seipp <austin@well-typed.com>
Tue, 27 Oct 2015 17:27:00 +0000 (12:27 -0500)
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

rts/RtsSymbols.h

index cc02a98..10c158c 100644 (file)
@@ -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)