about summary refs log tree commit diff
path: root/nptl/tst-initializers1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-01-19 06:58:04 +0000
committerUlrich Drepper <drepper@redhat.com>2007-01-19 06:58:04 +0000
commitf8a1785592414ea4cb12b919740fbff77175ce8f (patch)
treec6517738983d3b0e0affeb655f738f8838b5c9d8 /nptl/tst-initializers1.c
parent299f7b0ffced429e0ff8fc51ce301c3a7d294bbe (diff)
downloadglibc-f8a1785592414ea4cb12b919740fbff77175ce8f.tar.gz
glibc-f8a1785592414ea4cb12b919740fbff77175ce8f.tar.xz
glibc-f8a1785592414ea4cb12b919740fbff77175ce8f.zip
* tst-initializers1.c: We want to test the initializers as seen
	outside of libc, so undefined _LIBC.
Diffstat (limited to 'nptl/tst-initializers1.c')
-rw-r--r--nptl/tst-initializers1.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nptl/tst-initializers1.c b/nptl/tst-initializers1.c
index ccd27286e8..eacee35c61 100644
--- a/nptl/tst-initializers1.c
+++ b/nptl/tst-initializers1.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2005.
 
@@ -17,6 +17,9 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+/* We test the code undef conditions outside of glibc.  */
+#undef _LIBC
+
 #include <pthread.h>
 
 pthread_mutex_t mtx_normal = PTHREAD_MUTEX_INITIALIZER;