[ros-diffs] [tkreuzer] 49506: [MINGW] #if 0 _matherr(). We already have it in our crt and it's exported from msvcrt. MSVC doesn't like when it's there twice.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Nov 6 09:17:05 UTC 2010


Author: tkreuzer
Date: Sat Nov  6 09:17:04 2010
New Revision: 49506

URL: http://svn.reactos.org/svn/reactos?rev=49506&view=rev
Log:
[MINGW]
#if 0 _matherr(). We already have it in our crt and it's exported from msvcrt. MSVC doesn't like when it's there twice.

Modified:
    branches/cmake-bringup/lib/3rdparty/mingw/merr.c

Modified: branches/cmake-bringup/lib/3rdparty/mingw/merr.c
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/mingw/merr.c?rev=49506&r1=49505&r2=49506&view=diff
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/mingw/merr.c [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/mingw/merr.c [iso-8859-1] Sat Nov  6 09:17:04 2010
@@ -10,6 +10,7 @@
 
 int __defaultmatherr = 0;
 
+#if 0
 int __CRTDECL
 _matherr (struct _exception *pexcept)
 {
@@ -51,3 +52,4 @@
   return 0;
 }
 
+#endif




More information about the Ros-diffs mailing list