svn commit: trunk/busybox/include
landley at busybox.net
landley at busybox.net
Tue Sep 12 20:29:22 UTC 2006
Author: landley
Date: 2006-09-12 13:29:22 -0700 (Tue, 12 Sep 2006)
New Revision: 16109
Log:
Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.
Modified:
trunk/busybox/include/platform.h
Changeset:
Modified: trunk/busybox/include/platform.h
===================================================================
--- trunk/busybox/include/platform.h 2006-09-12 20:28:34 UTC (rev 16108)
+++ trunk/busybox/include/platform.h 2006-09-12 20:29:22 UTC (rev 16109)
@@ -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__)
More information about the busybox-cvs
mailing list