mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-07 11:20:04 -04:00
18 lines
492 B
Plaintext
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) */
|
|
|
|
/*
|