mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
hurd: fix timer_routines.c build
* sysdeps/pthread/timer_routines.c: [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
This commit is contained in:
parent
03b540b368
commit
eb937a5285
@ -3,6 +3,7 @@
|
|||||||
* sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
|
* sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
|
||||||
of <nptl/pthreadP.h>
|
of <nptl/pthreadP.h>
|
||||||
(thread_attr_compare): Move function to...
|
(thread_attr_compare): Move function to...
|
||||||
|
[!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
|
||||||
* sysdeps/nptl/timer_routines.h: ... new header.
|
* sysdeps/nptl/timer_routines.h: ... new header.
|
||||||
|
|
||||||
2018-02-26 Joseph Myers <joseph@codesourcery.com>
|
2018-02-26 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
@ -31,6 +31,9 @@
|
|||||||
#include "posix-timer.h"
|
#include "posix-timer.h"
|
||||||
#include <internaltypes.h>
|
#include <internaltypes.h>
|
||||||
|
|
||||||
|
#ifndef DELAYTIMER_MAX
|
||||||
|
# define DELAYTIMER_MAX INT_MAX
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Number of threads used. */
|
/* Number of threads used. */
|
||||||
#define THREAD_MAXNODES 16
|
#define THREAD_MAXNODES 16
|
||||||
|
Loading…
Reference in New Issue
Block a user