summaryrefslogtreecommitdiff
path: root/test/cairo-test.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2012-10-16 17:09:42 +0200
committerUli Schlachter <psychon@znc.in>2012-10-16 17:09:42 +0200
commitd5f9c694b9145f0464c8bd58d844bddedcb77d5e (patch)
treeb9a8f79ed5ab54c19ab33c02e62e8863048ccba7 /test/cairo-test.c
parentdb488a1703d4ef3bcbd54138b51c01600a2f4d3a (diff)
downloadcairo-d5f9c694b9145f0464c8bd58d844bddedcb77d5e.tar.gz
test: Define optional exception classes
According to musl libc author: "C99 requires the FE_ macros to be defined if and only if the exception they correspond to is supported" So we define these macros to 0 if they are not supported. Support for these FPU exceptions is not necessary for correct functionality, but makes some tests less effective. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55771 Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'test/cairo-test.c')
-rw-r--r--test/cairo-test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/cairo-test.c b/test/cairo-test.c
index 3f37147eb..076b0148d 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -35,9 +35,6 @@
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
-#if HAVE_FEENABLEEXCEPT
-#include <fenv.h>
-#endif
#include <assert.h>
#if HAVE_UNISTD_H
#include <unistd.h>