From 14ba83a988ed858bab0dfe631f24ed87e0d9cbf5 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 14 Oct 2006 11:19:50 +0200 Subject: [PATCH] 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 --- 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 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" -- 2.30.2