aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-devel/files/patch-aa
blob: 33a7ddbd83b81e9e9055fd27ab4f257d9e6a79a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- app/main.c.orig Thu Feb 10 14:41:02 2000
+++ app/main.c  Sat Feb 19 13:51:36 2000
@@ -22,6 +22,7 @@
 #include <signal.h>
 #include <string.h>
 #include <sys/types.h>
+#include <floatingpoint.h>
 
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
@@ -129,6 +130,9 @@
   /* Initialize variables */
 
   prog_name = argv[0];
+
+  /* Ignore floating point exceptions */
+  fpsetmask(0);
 
   /* Initialize i18n support */
   INIT_LOCALE ("gimp");