From 1a1b0255d7888eefbb84de3eda6ddd2a24610134 Mon Sep 17 00:00:00 2001 From: ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sat, 14 Oct 2006 09:19:50 +0000 Subject: [PATCH] * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117728 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pthread-init-2.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index be3caea1f126..dbdd789bdf24 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-10-14 Eric Botcazou <ebotcazou@libertysurf.fr> + + * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L + on Solaris 2.5.1 too. + 2006-10-13 Eric Christopher <echristo@apple.com> * 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 2aebd6e2286d..3a4d83eab2bf 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" -- GitLab