aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-12 13:27:55 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-12 13:27:55 +0000
commit46b85d86c303c7a7bac4ffd4b07ddd67ccc6686d (patch)
tree98fdcda294822aa89f2e7bad386d53dac71e2ff7 /include
parent4e36ee1b92d6fac155e64172cffca124a4522db5 (diff)
downloadbusybox-w32-46b85d86c303c7a7bac4ffd4b07ddd67ccc6686d.tar.gz
busybox-w32-46b85d86c303c7a7bac4ffd4b07ddd67ccc6686d.tar.bz2
busybox-w32-46b85d86c303c7a7bac4ffd4b07ddd67ccc6686d.zip
- small trivia to be gentle to gcc-2.95.x which had no va_copy but only __va_copy.
git-svn-id: svn://busybox.net/trunk/busybox@16107 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index ca6f3634f..fdaf50920 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -75,6 +75,14 @@
75# endif 75# endif
76#endif 76#endif
77 77
78/* gcc-2.95 had no va_copy but only __va_copy. */
79#if !__GNUC_PREREQ (3,0)
80# include <stdarg.h>
81# if !defined va_copy && defined __va_copy
82# define va_copy(d,s) __va_copy((d),(s))
83# endif
84#endif
85
78/* ---- Endian Detection ------------------------------------ */ 86/* ---- Endian Detection ------------------------------------ */
79 87
80#if (defined __digital__ && defined __unix__) 88#if (defined __digital__ && defined __unix__)