summaryrefslogtreecommitdiff
path: root/graphics/sodipodi/files/patch-src_main.c
blob: 7e0e3b8d5982ffc3b287949ffbaf13d5ea0e870a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/main.c.orig	Sun Apr 15 16:27:51 2001
+++ src/main.c	Thu May 30 23:14:44 2002
@@ -17,7 +17,7 @@
 #include <tree.h> /* libxml */
 
 #ifdef __FreeBSD__
-#include <floatingpoint.h>
+#include <ieeefp.h>
 #endif
 
 #include "sodipodi-private.h"
@@ -357,7 +357,7 @@
 
 	}
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) && defined(__i386__)
 	fpresetsticky(FP_X_DZ|FP_X_INV);
 	fpsetmask(FP_X_DZ|FP_X_INV);
 #endif