diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-09-02 21:50:08 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-09-02 21:54:09 -0400 |
commit | a7951081f153934cbf93215c5e255b99ec3e1157 (patch) | |
tree | 48aaed15a91447f6b27cfb80031f717d4556aafc /test/invalid-matrix.c | |
parent | b4cee2bd88f36b2eddacfe91726b698ae61c819b (diff) |
Move _GNU_SOURCE declarations to where it's used
Such that we don't rely on more GNU extensions accidentally.
Diffstat (limited to 'test/invalid-matrix.c')
-rw-r--r-- | test/invalid-matrix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/invalid-matrix.c b/test/invalid-matrix.c index 8db3df13..be113369 100644 --- a/test/invalid-matrix.c +++ b/test/invalid-matrix.c @@ -24,9 +24,12 @@ * Author: Carl Worth <cworth@cworth.org> */ +#define _ISOC99_SOURCE /* for INFINITY */ +#define _GNU_SOURCE 1 /* for fedisableeexcept() et al */ + #include "cairo-test.h" -#if _XOPEN_SOURCE >= 600 || defined (_ISOC99_SOURCE) +#ifdef INFINITY #define HAVE_INFINITY 1 #endif |