]> err.no Git - linux-2.6/blobdiff - include/linux/compiler-gcc2.h
[PATCH] Serial: Split 8250 port table
[linux-2.6] / include / linux / compiler-gcc2.h
index 5a359153ffd970b8d781035038e7ae6e7a0d250e..ebed17660c5fa6f09cdbe4f331736abdd58a1a60 100644 (file)
@@ -22,3 +22,8 @@
 # define __attribute_pure__    __attribute__((pure))
 # define __attribute_const__   __attribute__((__const__))
 #endif
+
+/* GCC 2.95.x/2.96 recognize __va_copy, but not va_copy. Actually later GCC's
+ * define both va_copy and __va_copy, but the latter may go away, so limit this
+ * to this header */
+#define va_copy                        __va_copy