aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgo/runtime/getncpu-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgo/runtime/getncpu-linux.c')
-rw-r--r--gcc-4.9/libgo/runtime/getncpu-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/libgo/runtime/getncpu-linux.c b/gcc-4.9/libgo/runtime/getncpu-linux.c
index 0122b77c9..de6606ff4 100644
--- a/gcc-4.9/libgo/runtime/getncpu-linux.c
+++ b/gcc-4.9/libgo/runtime/getncpu-linux.c
@@ -6,7 +6,7 @@
#include <sched.h>
// CPU_COUNT is only provided by glibc 2.6 or higher
-#if !defined(__GLIBC_PREREQ) || !__GLIBC_PREREQ(2, 6)
+#ifndef CPU_COUNT
#define CPU_COUNT(set) _CPU_COUNT((unsigned int *)(set), sizeof(*(set))/sizeof(unsigned int))
static int _CPU_COUNT(unsigned int *set, size_t len) {
int cnt;