Author: sginsberg
Date: Thu Aug 6 21:23:44 2009
New Revision: 42435
URL:
http://svn.reactos.org/svn/reactos?rev=42435&view=rev
Log:
- Fix the last mingw msvc build issues -- just use function forwarders for msvc instead of
using gcc alias symbols. Also add msvc assembly to the "fp10" implementation.
Modified:
trunk/reactos/lib/3rdparty/mingw/CRT_fp10.c
trunk/reactos/lib/3rdparty/mingw/CRT_fp8.c
Modified: trunk/reactos/lib/3rdparty/mingw/CRT_fp10.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/mingw/CRT_fp1…
==============================================================================
--- trunk/reactos/lib/3rdparty/mingw/CRT_fp10.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/mingw/CRT_fp10.c [iso-8859-1] Thu Aug 6 21:23:44 2009
@@ -5,6 +5,16 @@
*/
void _fpreset (void)
- { __asm__ ("fninit" ) ;}
+{
+#ifdef __GNUC__
+ __asm__ ("fninit" );
+#else
+ __asm fninit;
+#endif
+}
+#ifdef __GNUC__
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
+#else
+void fpreset(void) { _fpreset(); }
+#endif
Modified: trunk/reactos/lib/3rdparty/mingw/CRT_fp8.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/mingw/CRT_fp8…
==============================================================================
--- trunk/reactos/lib/3rdparty/mingw/CRT_fp8.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/mingw/CRT_fp8.c [iso-8859-1] Thu Aug 6 21:23:44 2009
@@ -8,4 +8,8 @@
void _fpreset (void)
{ (*_imp___fpreset)(); }
+#ifdef __GNUC__
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
+#else
+void fpreset(void) { _fpreset(); }
+#endif