diff --git a/uppsrc/Core/parser.cpp b/uppsrc/Core/parser.cpp index 31fb9f9cf..3a9b6b969 100644 --- a/uppsrc/Core/parser.cpp +++ b/uppsrc/Core/parser.cpp @@ -234,8 +234,13 @@ uint64 CParser::ReadNumber64(int base) throw(Error) } #if defined(COMPILER_MINGW) -_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _clearfp (void); -#define SW_OVERFLOW 0x00000004 + +extern "C" { + _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _clearfp(void); +} + +#define SW_OVERFLOW 0x00000004 + #endif double CParser::ReadDouble() throw(Error)