Author: sserapion
Date: Tue Apr 20 23:59:16 2010
New Revision: 46968
URL:
http://svn.reactos.org/svn/reactos?rev=46968&view=rev
Log:
Remove weird code that creates a warning.
Modified:
branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/crtexe.c
branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/reactos.diff
Modified: branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/crtexe.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/3…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/crtexe.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/crtexe.c [iso-8859-1] Tue Apr 20
23:59:16 2010
@@ -46,8 +46,6 @@
extern int * __MINGW_IMP_SYMBOL(_fmode);
extern int * __MINGW_IMP_SYMBOL(_commode);
-#undef _fmode
-extern int _fmode;
extern int * __MINGW_IMP_SYMBOL(_commode);
#define _commode (* __MINGW_IMP_SYMBOL(_commode))
extern int _dowildcard;
Modified: branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/reactos.diff
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/3…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/reactos.diff [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/reactos.diff [iso-8859-1] Tue
Apr 20 23:59:16 2010
@@ -45,6 +45,19 @@
#ifndef __winitenv
extern wchar_t *** __MINGW_IMP_SYMBOL(__winitenv);
+
+@@ -40,6 +40,7 @@
+ extern void _fpreset (void);
+ #define SPACECHAR _T(' ')
+ #define DQUOTECHAR _T('\"')
+
+ __declspec(dllimport) void __setusermatherr(int (__cdecl *)(struct _exception *));
+
+ extern int * __MINGW_IMP_SYMBOL(_fmode);
+ extern int * __MINGW_IMP_SYMBOL(_commode);
+
+-#undef _fmode
+-extern int _fmode;
@@ -51,7 +52,11 @@
#define _commode (* __MINGW_IMP_SYMBOL(_commode))
extern int _dowildcard;