/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <crtdll/float.h>
+#include <msvcrt/float.h>
unsigned int _controlfp (unsigned int unNew, unsigned int unMask)
{
unsigned int _control87 (unsigned int unNew, unsigned int unMask)
{
-
register unsigned int __res;
+#ifdef __GNUC__
__asm__ __volatile__ (
"pushl %%eax \n\t" /* make room on stack */
"fstcw (%%esp) \n\t"
"fldcw (%%esp) \n\t"
"popl %%edx \n\t"
-
:"=r" (__res):"r" (unNew),"r" (unMask): "ax", "dx", "cx");
-/* :"=a" (__res):"c" (unNew),"d" (unMask):"ax", "dx", "cx"); */
-
+#else
+#endif /*__GNUC__*/
return __res;
}