aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-09-12 20:29:22 +0000
committerRob Landley <rob@landley.net>2006-09-12 20:29:22 +0000
commit1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e (patch)
tree163b2f1f13ceb929748729f3d2c7265c0ea25ed2
parent16bbb2008998f8ce2b1ad43ce640ec04e9930ab7 (diff)
downloadbusybox-w32-1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e.tar.gz
busybox-w32-1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e.tar.bz2
busybox-w32-1b2b5cfba81aab3e56d374ee3dcee97cde4bcb4e.zip
Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.
-rw-r--r--include/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index fdaf50920..fa7749b39 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -83,6 +83,14 @@
83# endif 83# endif
84#endif 84#endif
85 85
86/* gcc-2.95 had no va_copy but only __va_copy. */
87#if !__GNUC_PREREQ (3,0)
88# include <stdarg.h>
89# if !defined va_copy && defined __va_copy
90# define va_copy(d,s) __va_copy((d),(s))
91# endif
92#endif
93
86/* ---- Endian Detection ------------------------------------ */ 94/* ---- Endian Detection ------------------------------------ */
87 95
88#if (defined __digital__ && defined __unix__) 96#if (defined __digital__ && defined __unix__)