2013-09-26 17:14:40 +02:00

18 lines
492 B
Plaintext

$NetBSD: patch-ac,v 1.1 2007/01/27 12:02:16 wiz Exp $
--- float.h.orig 2000-12-04 18:03:41.000000000 +0100
+++ float.h 2006-10-15 20:55:37.000000000 +0200
@@ -13,8 +13,11 @@
* be interrupted (block all signals each time isn't a good idea, I think)
*
*/
+
+const short initfpmem = 0xf37;
+
# define InitFp() /* sigprocmask(block all signals) */ \
- asm("fldcw %0" :: "m"(0xF37));
+ asm("fldcw %0" :: "m" (initfpmem));
# define EndFp() /* sigprocmask(enable all signals) */
/*