Bug 415867 - "AIX Compilation error for trunk build source cairo-gstate.c : line 45.43: 1506-294 (S) Syntax error in expression on #if directive." [p=shailen.n.jain@gmail.com (Shailen) r+sr=roc a1.9=schrep]

This commit is contained in:
reed@reedloden.com 2008-02-13 03:31:00 -08:00
parent fe87624c9c
commit 4457afca74
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
#include "cairo-clip-private.h"
#include "cairo-gstate-private.h"
#if _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE
#if _XOPEN_SOURCE >= 600 || defined(_ISOC99_SOURCE)
#define ISFINITE(x) isfinite (x)
#else
#define ISFINITE(x) ((x) * (x) >= 0.) /* check for NaNs */

View File

@ -38,7 +38,7 @@
#include "cairoint.h"
#if _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE
#if _XOPEN_SOURCE >= 600 || defined(_ISOC99_SOURCE)
#define ISFINITE(x) isfinite (x)
#else
#define ISFINITE(x) ((x) * (x) >= 0.) /* check for NaNs */