about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-11 20:12:53 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-11 20:12:53 -0800
commit75eb41b42e924f7680a3c4afe2516ac8cc5523aa (patch)
tree705025fa65dca1f4d1639d11ca552026c50c2d4a
parente531ede5aff20b04937bd52763dd9294983dbfdd (diff)
downloadglibc-75eb41b42e924f7680a3c4afe2516ac8cc5523aa.tar.gz
glibc-75eb41b42e924f7680a3c4afe2516ac8cc5523aa.tar.xz
glibc-75eb41b42e924f7680a3c4afe2516ac8cc5523aa.zip
Fix time.h POSIX test.
-rw-r--r--ChangeLog2
-rw-r--r--conform/data/time.h-data2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 02d83df43c..0fc86f1fb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-01-11  Ulrich Drepper  <drepper@redhat.com>
 
+	* conform/data/time.h-data: Fix POSIX tests.
+
 	* conform/data/wchar.h-data: Fix up XPG7 tests.
 
 	* include/features.h: Fix __USE_ISOC95 handling.
diff --git a/conform/data/time.h-data b/conform/data/time.h-data
index 631cb76a1e..c07fe1dc3b 100644
--- a/conform/data/time.h-data
+++ b/conform/data/time.h-data
@@ -44,7 +44,9 @@ type locale_t
 tag {struct sigevent}
 #endif
 
+#if !defined POSIX && !defined POSIX2008
 variable int getdate_err
+#endif
 
 function {char*} asctime (const struct tm*)
 function {char*} asctime_r (const struct tm*, char*)