PERFORCE change 184972 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Thu Oct 21 19:49:04 UTC 2010
http://p4web.freebsd.org/@@184972?ac=10
Change 184972 by gonzo at gonzo_figaro on 2010/10/21 19:48:49
Use built-in stdargs
Affected files ...
.. //depot/projects/avr32/src/sys/avr32/include/stdarg.h#2 edit
Differences ...
==== //depot/projects/avr32/src/sys/avr32/include/stdarg.h#2 (text+ko) ====
@@ -34,16 +34,11 @@
#ifndef _VA_LIST_DECLARED
#define _VA_LIST_DECLARED
-typedef __va_list va_list;
+typedef __va_list va_list;
#endif
-
-#ifdef __GNUCLIKE_BUILTIN_STDARG
-#define va_start(v,l) __builtin_va_start((v),l)
-#define va_end __builtin_va_end
-#define va_arg __builtin_va_arg
-#define va_copy __builtin_va_copy
-#else
-#error must use buildin stdarg for now
-#endif /* __GNUCLIKE_BUILTIN_STDARG */
+#define va_start(v,l) __builtin_va_start((v),l)
+#define va_end __builtin_va_end
+#define va_arg __builtin_va_arg
+#define va_copy __builtin_va_copy
#endif /* !_MACHINE_STDARG_H_ */
More information about the p4-projects
mailing list