projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16bbb20
)
Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.
author
Rob Landley
<rob@landley.net>
Tue, 12 Sep 2006 20:29:22 +0000
(20:29 -0000)
committer
Rob Landley
<rob@landley.net>
Tue, 12 Sep 2006 20:29:22 +0000
(20:29 -0000)
include/platform.h
patch
|
blob
|
history
diff --git
a/include/platform.h
b/include/platform.h
index fdaf5092065296c7b4122fbdc1198d37116781ae..fa7749b3916311ee42661d6cd23f4d4019d0dcce 100644
(file)
--- a/
include/platform.h
+++ b/
include/platform.h
@@
-83,6
+83,14
@@
# endif
#endif
+/* gcc-2.95 had no va_copy but only __va_copy. */
+#if !__GNUC_PREREQ (3,0)
+# include <stdarg.h>
+# if !defined va_copy && defined __va_copy
+# define va_copy(d,s) __va_copy((d),(s))
+# endif
+#endif
+
/* ---- Endian Detection ------------------------------------ */
#if (defined __digital__ && defined __unix__)