Commit 90d1dedd authored by Simon Marlow's avatar Simon Marlow
Browse files

add RTS_PRIVATE attribute

parent 254528e3
......@@ -48,6 +48,11 @@ extern "C" {
#define ATTRIBUTE_ALIGNED(n) /*nothing*/
#endif
// Symbols that are extern, but private to the RTS, are declared
// with visibility "hidden" to hide them outside the RTS shared
// library.
#define RTS_PRIVATE GNUC3_ATTRIBUTE(visibility("hidden"))
/* Fix for mingw stat problem (done here so it's early enough) */
#ifdef mingw32_HOST_OS
#define __MSVCRT__ 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment