[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] RFC PATCH: bring OpenBSD stdarg in line with FreeBSD one
Having an absolute path in a #include confuses distcc's pump mode. Since AFAICS OpenBSD's stdarg handling uses the builtins, I think we should just treat it like we do NetBSD. I don't have an OpenBSD box to test on, though. :( Any OpenBSD enthusiasts care to comment? Tim. diff --git a/xen/include/xen/stdarg.h b/xen/include/xen/stdarg.h index 57e2c0e..cb870ac 100644 --- a/xen/include/xen/stdarg.h +++ b/xen/include/xen/stdarg.h @@ -1,9 +1,7 @@ #ifndef __XEN_STDARG_H__ #define __XEN_STDARG_H__ -#if defined(__OpenBSD__) -# include "/usr/include/stdarg.h" -#elif defined (__NetBSD__) +#if defined(__OpenBSD__) || defined(__NetBSD__) typedef __builtin_va_list va_list; # define va_start(ap, last) __builtin_stdarg_start((ap), (last)) # define va_end(ap) __builtin_va_end(ap) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |