aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;