From b3ea07c04ccdf2f1ed0d11891e1a9372449952f4 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Fri, 3 Jun 2005 03:02:36 +0000 Subject: Change system call names from glibc to uClibc. --- libpthread/nptl/sysdeps/unix/sysv/linux/smp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/smp.h b/libpthread/nptl/sysdeps/unix/sysv/linux/smp.h index 41fa97ff4..fbe16bacd 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/smp.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/smp.h @@ -34,7 +34,11 @@ is_smp_system (void) size_t reslen = sizeof (buf); /* Try reading the number using `sysctl' first. */ +#ifdef __UCLIBC__ if (sysctl ((int *) sysctl_args, +#else + if (__sysctl ((int *) sysctl_args, +#endif sizeof (sysctl_args) / sizeof (sysctl_args[0]), buf, &reslen, NULL, 0) < 0) { -- cgit v1.2.3