diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-06-03 03:02:36 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-06-03 03:02:36 +0000 |
commit | b3ea07c04ccdf2f1ed0d11891e1a9372449952f4 (patch) | |
tree | 56b18f8414753032c784791860285cc9844dd111 /libpthread/nptl/sysdeps/unix/sysv/linux | |
parent | f0ba32c5ad9e870986656e7cedce4ce270b2d67f (diff) | |
download | uClibc-alpine-b3ea07c04ccdf2f1ed0d11891e1a9372449952f4.tar.bz2 uClibc-alpine-b3ea07c04ccdf2f1ed0d11891e1a9372449952f4.tar.xz |
Change system call names from glibc to uClibc.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/smp.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |