From: Eric Botcazou Date: Sat, 14 Oct 2006 09:19:50 +0000 (+0200) Subject: pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14ba83a988ed858bab0dfe631f24ed87e0d9cbf5;p=gcc.git pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too. * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too. From-SVN: r117728 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index be3caea1f12..dbdd789bdf2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-10-14 Eric Botcazou + + * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L + on Solaris 2.5.1 too. + 2006-10-13 Eric Christopher * gcc.dg/pr25993.c: Skip for darwin. diff --git a/gcc/testsuite/gcc.dg/pthread-init-2.c b/gcc/testsuite/gcc.dg/pthread-init-2.c index 2aebd6e2286..3a4d83eab2b 100644 --- a/gcc/testsuite/gcc.dg/pthread-init-2.c +++ b/gcc/testsuite/gcc.dg/pthread-init-2.c @@ -6,7 +6,7 @@ /* { dg-do compile } */ /* { dg-options "-Wextra -Wall -ansi" } */ -/* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { hppa*-*-hpux* } } } */ +/* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { hppa*-*-hpux* *-*-solaris2.5.1 } } } */ #include "pthread-init-common.h"