summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--posix/sched.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c811c14c1e..074bef79d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-10 Ulrich Drepper <drepper@redhat.com>
+
+ * posix/sched.h (NCPUBITS): Define.
+
2003-05-09 Ulrich Drepper <drepper@redhat.com>
* Makeconfig (gnulib): Remove -lgcc_eh again.
diff --git a/posix/sched.h b/posix/sched.h
index 685d8bd67f..b09cef5991 100644
--- a/posix/sched.h
+++ b/posix/sched.h
@@ -65,6 +65,7 @@ extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
#ifdef __USE_GNU
/* Access macros for `cpu_set'. */
+#define NCPUBITS __NCPUBITS
#define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp)
#define CPU_CLR(cpu, cpusetp) __CPU_CLR (cpu, cpusetp)
#define CPU_ISSET(cpu, cpusetp) __CPU_ISSET (cpu, cpusetp)