* gcc.dg/pr70859-2.c: Define _ISOC99_SOURCE on AIX.

From-SVN: r243828
This commit is contained in:
David Edelsohn 2016-12-20 18:40:53 +00:00 committed by David Edelsohn
parent 0a565f3805
commit 96d8abf524
2 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,7 @@
2016-12-20 David Edelsohn <dje.gcc@gmail.com>
* 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 <andre.simoesdiasvieira@arm.com>

View file

@ -1,6 +1,9 @@
/* PR c/70859 */
/* { dg-do compile } */
#ifdef _AIX
#define _ISOC99_SOURCE
#endif
#include <stdint.h>
#define MAX __SIZE_MAX__
#define MAX2 SIZE_MAX