From 58e11d24b86e46689ecb26a8f897bb4588341aad Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 26 Sep 2008 23:54:59 +0000 Subject: use __UCLIBC_HAS_STUBS__ --- libc/sysdeps/linux/common/delete_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/delete_module.c') diff --git a/libc/sysdeps/linux/common/delete_module.c b/libc/sysdeps/linux/common/delete_module.c index a93921411..bb6744c80 100644 --- a/libc/sysdeps/linux/common/delete_module.c +++ b/libc/sysdeps/linux/common/delete_module.c @@ -10,7 +10,7 @@ int delete_module(const char *name); #ifdef __NR_delete_module _syscall1(int, delete_module, const char *, name); -#else +#elif defined __UCLIBC_HAS_STUBS__ int delete_module(const char *name) { __set_errno(ENOSYS); -- cgit v1.2.3