[cairo-commit] test/pdiff
Behdad Esfahbod
behdad at kemper.freedesktop.org
Sun Dec 17 11:32:16 PST 2006
test/pdiff/pdiff.c | 2 ++
1 files changed, 2 insertions(+)
New commits:
diff-tree 0bea2ce7f7e9c4b46d1125b07ed719fbb8b7102c (from 2ca6a767ee067742205ee76f891e36c8ec36135e)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Sun Dec 17 14:31:39 2006 -0500
[pdiff] Define _GNU_SOURCE to get correct symbols out of <math.h>
math.h does not define __USE_ISOC99 otherwise.
diff --git a/test/pdiff/pdiff.c b/test/pdiff/pdiff.c
index 4d50f01..91e0caf 100644
--- a/test/pdiff/pdiff.c
+++ b/test/pdiff/pdiff.c
@@ -14,6 +14,8 @@
if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#define _GNU_SOURCE
+
#include "lpyramid.h"
#include <math.h>
#include <stdio.h>
More information about the cairo-commit
mailing list