From 96d8abf5246eeaf32b493c51669afef21fde0c56 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 20 Dec 2016 18:40:53 +0000 Subject: [PATCH] * gcc.dg/pr70859-2.c: Define _ISOC99_SOURCE on AIX. From-SVN: r243828 --- gcc/testsuite/ChangeLog | 1 + gcc/testsuite/gcc.dg/pr70859-2.c | 3 +++ 2 files changed, 4 insertions(+) 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 -- 2.30.2