diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-05-17 00:38:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-05-17 00:38:41 +0000 |
commit | 23ae64517447a0b11ea4102a29c0d18f8f5949d0 (patch) | |
tree | b68d0174ba8455b4ab9c3626f5da5fe191433408 /nptl/sysdeps | |
parent | 7ac5b8e2fae145766821d141cf892bbfa50d6618 (diff) | |
download | glibc-23ae64517447a0b11ea4102a29c0d18f8f5949d0.tar glibc-23ae64517447a0b11ea4102a29c0d18f8f5949d0.tar.gz glibc-23ae64517447a0b11ea4102a29c0d18f8f5949d0.tar.bz2 glibc-23ae64517447a0b11ea4102a29c0d18f8f5949d0.zip |
Update.
* include/features.h (__USE_XOPEN2K): Define also for
_POSIX_C_SOURCE>=200112L.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/timer_gettime.c | 2 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/timer_settime.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_gettime.c b/nptl/sysdeps/unix/sysv/linux/timer_gettime.c index 6da15718ed..9066e1077f 100644 --- a/nptl/sysdeps/unix/sysv/linux/timer_gettime.c +++ b/nptl/sysdeps/unix/sysv/linux/timer_gettime.c @@ -44,7 +44,7 @@ timer_gettime (timerid, value) { # undef timer_gettime # ifndef __ASSUME_POSIX_TIMERS - if (__no_posix_timers == 0) + if (__no_posix_timers >= 0) # endif { struct timer *kt = (struct timer *) timerid; diff --git a/nptl/sysdeps/unix/sysv/linux/timer_settime.c b/nptl/sysdeps/unix/sysv/linux/timer_settime.c index 37ebf1dd53..50ebb193a0 100644 --- a/nptl/sysdeps/unix/sysv/linux/timer_settime.c +++ b/nptl/sysdeps/unix/sysv/linux/timer_settime.c @@ -67,7 +67,7 @@ timer_settime (timerid, flags, value, ovalue) # endif # ifndef __ASSUME_POSIX_TIMERS - __no_posix_timers = 1; + __no_posix_timers = -1; # endif } |