aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-06 06:00:20 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-06 06:00:20 +0000
commitb16b5bb08f8b2b1d3e5f56c6655ba0332edcdc48 (patch)
treea7166df84dab7d83ddf4bae46168bf47288bc924
parent362dc2bf3314b3e01d0445acbabaebedb3a94131 (diff)
downloadbusybox-b16b5bb08f8b2b1d3e5f56c6655ba0332edcdc48.tar.gz
only check __GNU_LIBRARY__ if it is actually defined
-rw-r--r--include/platform.h4
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;
/* ---- miscellaneous --------------------------------------- */
-#if __GNU_LIBRARY__ < 5 && \
+#if defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 5 && \
!defined(__dietlibc__) && \
!defined(_NEWLIB_VERSION) && \
!(defined __digital__ && defined __unix__)
-#error "Sorry, this libc version is not supported :("
+# error "Sorry, this libc version is not supported :("
#endif
#if defined __GLIBC__ || defined __UCLIBC__ \