summaryrefslogtreecommitdiff
path: root/emulators/p11/patches/patch-ac
blob: 2b6abe5932b308a67a4292166cb7f0ff2d624a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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) */
 
 /*