diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-06 06:00:20 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-06 06:00:20 +0000 |
commit | 0dd736d16c842d741c74ff0a43a2d8f1e121d7c8 (patch) | |
tree | a7166df84dab7d83ddf4bae46168bf47288bc924 | |
parent | 527c76f5c4b1ddaf902823c9731f6b1d6eb020b4 (diff) | |
download | busybox-w32-0dd736d16c842d741c74ff0a43a2d8f1e121d7c8.tar.gz busybox-w32-0dd736d16c842d741c74ff0a43a2d8f1e121d7c8.tar.bz2 busybox-w32-0dd736d16c842d741c74ff0a43a2d8f1e121d7c8.zip |
only check __GNU_LIBRARY__ if it is actually defined
git-svn-id: svn://busybox.net/trunk/busybox@15292 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | include/platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h index 7d25850f5..1effc61c0 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -161,11 +161,11 @@ __extension__ typedef unsigned long long __u64; | |||
161 | 161 | ||
162 | /* ---- miscellaneous --------------------------------------- */ | 162 | /* ---- miscellaneous --------------------------------------- */ |
163 | 163 | ||
164 | #if __GNU_LIBRARY__ < 5 && \ | 164 | #if defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 5 && \ |
165 | !defined(__dietlibc__) && \ | 165 | !defined(__dietlibc__) && \ |
166 | !defined(_NEWLIB_VERSION) && \ | 166 | !defined(_NEWLIB_VERSION) && \ |
167 | !(defined __digital__ && defined __unix__) | 167 | !(defined __digital__ && defined __unix__) |
168 | #error "Sorry, this libc version is not supported :(" | 168 | # error "Sorry, this libc version is not supported :(" |
169 | #endif | 169 | #endif |
170 | 170 | ||
171 | #if defined __GLIBC__ || defined __UCLIBC__ \ | 171 | #if defined __GLIBC__ || defined __UCLIBC__ \ |