/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 2000-2015
 *
 * RTS Symbols
 *
 * ---------------------------------------------------------------------------*/

#ifndef RTS_SYMBOLS_H
#define RTS_SYMBOLS_H


#ifdef LEADING_UNDERSCORE
#define MAYBE_LEADING_UNDERSCORE_STR(s) ("_" s)
#else
#define MAYBE_LEADING_UNDERSCORE_STR(s) (s)
#endif

typedef struct _RtsSymbolVal {
    const char   *lbl;
    void   *addr;
} RtsSymbolVal;


extern  RtsSymbolVal rtsSyms[];

#endif /* RTS_SYMBOLS_H */

/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 2000-2015
 *
 * RTS Symbols
 *
 * ---------------------------------------------------------------------------*/

#ifndef RTS_SYMBOLS_H
#define RTS_SYMBOLS_H

#include "ghcautoconf.h"

#ifdef LEADING_UNDERSCORE
#define MAYBE_LEADING_UNDERSCORE_STR(s) ("_" s)
#else
#define MAYBE_LEADING_UNDERSCORE_STR(s) (s)
#endif

typedef struct _RtsSymbolVal {
    const char   *lbl;
    void   *addr;
} RtsSymbolVal;


extern  RtsSymbolVal rtsSyms[];

#endif /* RTS_SYMBOLS_H */

Fix the DYNAMIC_GHC_PROGRAMS=NO build on Mac/Windows
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
