summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-18 21:49:06 +0000
committerDenis Vlasenko2006-12-18 21:49:06 +0000
commit83e5d6f77237b64853c194b0ce592e77ef677c4d (patch)
tree84b352ca012bd713d990ef1d90b47777a6f6e2e7 /shell
parentf42ff90453687624874c1eb8cc53f68514f7cb34 (diff)
downloadbusybox-83e5d6f77237b64853c194b0ce592e77ef677c4d.zip
busybox-83e5d6f77237b64853c194b0ce592e77ef677c4d.tar.gz
A bunch of defined(__GLIBC__) added. static-linking warning expanded
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 8ba4cb8..2f7cc86 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12567,11 +12567,9 @@ letcmd(int argc, char **argv)
#undef rflag
-#ifdef __GLIBC__
-#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 1
+#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 1
typedef enum __rlimit_resource rlim_t;
#endif
-#endif
/*