Author: sginsberg
Date: Fri Aug 7 18:40:11 2009
New Revision: 42471
URL:
http://svn.reactos.org/svn/reactos?rev=42471&view=rev
Log:
- Properly stub atan2/exp/fmod/ldexp for MSVC -- #error out on them instead of calling
nonexisting functions to fail at link time (wtf?).
Modified:
trunk/reactos/lib/sdk/crt/math/i386/atan2.c
trunk/reactos/lib/sdk/crt/math/i386/exp.c
trunk/reactos/lib/sdk/crt/math/i386/fmod.c
trunk/reactos/lib/sdk/crt/math/i386/ldexp.c
Modified: trunk/reactos/lib/sdk/crt/math/i386/atan2.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/atan…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/i386/atan2.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/i386/atan2.c [iso-8859-1] Fri Aug 7 18:40:11 2009
@@ -15,7 +15,7 @@
"fld %%st(0)"
: "=t" (__val) : "0" (__x), "u" (__y));
#else
- __val = linkme_atan2(__x, __y);
+#error IMPLEMENT ME
#endif /*__GNUC__*/
return __val;
}
Modified: trunk/reactos/lib/sdk/crt/math/i386/exp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/exp.…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/i386/exp.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/i386/exp.c [iso-8859-1] Fri Aug 7 18:40:11 2009
@@ -42,6 +42,6 @@
return __value;
#else
- return linkme_exp(__x);
+#error IMPLEMENT ME
#endif /*__GNUC__*/
}
Modified: trunk/reactos/lib/sdk/crt/math/i386/fmod.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/fmod…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/i386/fmod.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/i386/fmod.c [iso-8859-1] Fri Aug 7 18:40:11 2009
@@ -33,7 +33,7 @@
"jp 1b"
: "=t" (__val) : "0" (__x), "u" (__y) :
"ax", "cc");
#else
- __val = linkme_fmod(__x, __y);
+#error IMPLEMENT ME
#endif /*__GNUC__*/
return __val;
}
Modified: trunk/reactos/lib/sdk/crt/math/i386/ldexp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/ldex…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/i386/ldexp.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/i386/ldexp.c [iso-8859-1] Fri Aug 7 18:40:11 2009
@@ -30,7 +30,7 @@
("fscale"
: "=t" (__val) : "0" (__x), "u" ((double) __y));
#else
- __val = linkme_ldexp(__x, __y);
+#error IMPLEMENT ME
#endif /*__GNUC__*/
return __val;
}