From: David Edelsohn Date: Tue, 20 Dec 2016 18:40:53 +0000 (+0000) Subject: * gcc.dg/pr70859-2.c: Define _ISOC99_SOURCE on AIX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96d8abf5246eeaf32b493c51669afef21fde0c56;p=gcc.git * gcc.dg/pr70859-2.c: Define _ISOC99_SOURCE on AIX. From-SVN: r243828 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 936b694907b..44c3a182ca8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,6 +1,7 @@ 2016-12-20 David Edelsohn * gcc.dg/tls/alias-1.c: dg-add-options tls. + * gcc.dg/pr70859-2.c: Define _ISOC99_SOURCE on AIX. 2016-12-20 Andre Vieira diff --git a/gcc/testsuite/gcc.dg/pr70859-2.c b/gcc/testsuite/gcc.dg/pr70859-2.c index 4817852a955..14b3a5452b7 100644 --- a/gcc/testsuite/gcc.dg/pr70859-2.c +++ b/gcc/testsuite/gcc.dg/pr70859-2.c @@ -1,6 +1,9 @@ /* PR c/70859 */ /* { dg-do compile } */ +#ifdef _AIX +#define _ISOC99_SOURCE +#endif #include #define MAX __SIZE_MAX__ #define MAX2 SIZE_MAX