diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-03-06 00:32:54 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-03-06 00:32:54 +0000 |
commit | adab517f76b92e9c13be070e7bdc57ec4ca3c916 (patch) | |
tree | ad1d5f23445ea6ac534d82277653a80ae638ddea | |
parent | db6ee81c994c7571a80a5e37c6a331a69e5dccde (diff) | |
download | busybox-w32-adab517f76b92e9c13be070e7bdc57ec4ca3c916.tar.gz busybox-w32-adab517f76b92e9c13be070e7bdc57ec4ca3c916.tar.bz2 busybox-w32-adab517f76b92e9c13be070e7bdc57ec4ca3c916.zip |
Don't build these support functions for uClibc, as it always supplies
versions.
-rw-r--r-- | libbb/module_syscalls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c index 9dca6f04f..81fb8f255 100644 --- a/libbb/module_syscalls.c +++ b/libbb/module_syscalls.c | |||
@@ -26,6 +26,8 @@ | |||
26 | #include <sys/syscall.h> | 26 | #include <sys/syscall.h> |
27 | #include "libbb.h" | 27 | #include "libbb.h" |
28 | 28 | ||
29 | /* uClibc always supplies (possibly ENOSYS) versions of these functions. */ | ||
30 | #ifndef __UCLIBC__ | ||
29 | 31 | ||
30 | /* These syscalls are not included in very old glibc versions */ | 32 | /* These syscalls are not included in very old glibc versions */ |
31 | int delete_module(const char *name) | 33 | int delete_module(const char *name) |
@@ -101,6 +103,8 @@ unsigned long create_module(const char *name, size_t size) | |||
101 | } | 103 | } |
102 | 104 | ||
103 | 105 | ||
106 | #endif /* __UCLIBC__ */ | ||
107 | |||
104 | /* END CODE */ | 108 | /* END CODE */ |
105 | /* | 109 | /* |
106 | Local Variables: | 110 | Local Variables: |