aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-app/files/patch-am
blob: 530b1aaa081e59a235bada3cfa9e2ffd7f0b33f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- libgimp/gimp.c.orig	Mon Dec  6 14:44:39 1999
+++ libgimp/gimp.c	Sat Feb 19 13:51:36 2000
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
+#include <floatingpoint.h>
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif
@@ -186,6 +187,9 @@
     }
 
   progname = argv[0];
+
+  /* Ignore floating point exceptions */
+  fpsetmask(0);
 
 #ifndef G_OS_WIN32
   /* No use catching these on Win32, the user won't get any meaningful