aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-18 23:50:44 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-18 23:50:44 +0000
commitdacb2bad80f03502d1f933382ba34b6a91096e93 (patch)
tree0352aed83fa0efa175b5620be4a889a7be8da9c6
parenta14b373c5d8d59b203511b31ff9f196692d7d7bb (diff)
downloadglibc-dacb2bad80f03502d1f933382ba34b6a91096e93.tar
glibc-dacb2bad80f03502d1f933382ba34b6a91096e93.tar.gz
glibc-dacb2bad80f03502d1f933382ba34b6a91096e93.tar.bz2
glibc-dacb2bad80f03502d1f933382ba34b6a91096e93.zip
Update.
2003-03-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK correctly.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/posix/sysconf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fb21992d8c..f1b1773904 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-18 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK
+ correctly.
+
2003-03-18 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/memcpy.S: New file.
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
index 7ad8ac7891..bf154f3e1a 100644
--- a/sysdeps/posix/sysconf.c
+++ b/sysdeps/posix/sysconf.c
@@ -938,7 +938,7 @@ __sysconf (name)
#endif
case _SC_MONOTONIC_CLOCK:
-#ifdef _POSIX_MONOTONIC_CLOCK
+#if _POSIX_MONOTONIC_CLOCK
return _POSIX_MONOTONIC_CLOCK;
#else
return -1;