From d092b8b514eac401692312dade6d57f110010fb8 Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 8 Jan 2014 19:26:00 +0000 Subject: [PATCH] Core: CParser MINGW fix git-svn-id: svn://ultimatepp.org/upp/trunk@6737 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/parser.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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)