diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-09-24 11:38:37 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-09-24 11:38:37 +0000 |
commit | 27f39f78c8a8c31625f38ed3eb42208c25d0543c (patch) | |
tree | 2082d29f8f2abf3d72adcd138ecf263775b89adc /rts/Linker.c | |
parent | 8c8dc051ba58e394650ae3579a7d2eb67189b297 (diff) | |
download | haskell-27f39f78c8a8c31625f38ed3eb42208c25d0543c.tar.gz |
Fix the Windows __chkstk build error (missing Linker symbol)
Diffstat (limited to 'rts/Linker.c')
-rw-r--r-- | rts/Linker.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/rts/Linker.c b/rts/Linker.c index 33daea3ab3..81e3f3cc61 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -354,15 +354,6 @@ typedef struct _RtsSymbolVal { #define RTS_POSIX_ONLY_SYMBOLS /**/ #define RTS_CYGWIN_ONLY_SYMBOLS /**/ -/* Extra syms gen'ed by mingw-2's gcc-3.2: */ -#if __GNUC__>=3 -#define RTS_MINGW_EXTRA_SYMS \ - SymI_NeedsProto(_imp____mb_cur_max) \ - SymI_NeedsProto(_imp___pctype) -#else -#define RTS_MINGW_EXTRA_SYMS -#endif - #if HAVE_GETTIMEOFDAY #define RTS_MINGW_GETTIMEOFDAY_SYM SymI_NeedsProto(gettimeofday) #else @@ -463,11 +454,14 @@ typedef struct _RtsSymbolVal { SymI_NeedsProto(opendir) \ SymI_NeedsProto(readdir) \ SymI_NeedsProto(rewinddir) \ - RTS_MINGW_EXTRA_SYMS \ + SymI_NeedsProto(_imp____mb_cur_max) \ + SymI_NeedsProto(_imp___pctype) \ + SymI_NeedsProto(__chkstk) \ RTS_MINGW_GETTIMEOFDAY_SYM \ SymI_NeedsProto(closedir) #endif + #if defined(darwin_HOST_OS) && HAVE_PRINTF_LDBLSTUB #define RTS_DARWIN_ONLY_SYMBOLS \ SymI_NeedsProto(asprintf$LDBLStub) \ |