[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/3] xen: Add stdbool.h workaround for BSD.
On Thu, 2013-08-15 at 14:25 +0100, Tim Deegan wrote: > On *BSD, stdbool.h lives in /usr/include, but we don't want to have > that on the search path in case we pick up any headers from the build > host's C libraries. > > Copy the equivalent hack already in place for stdarg.h: on all > supported compilers the contents of stdbool.h are trivial, so just > supply the things we need in a xen/stdbool.h header. > > Signed-off-by: Tim Deegan <tim@xxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> (or Reviewed-by if you prefer) I suppose we ought to start prefering xen/stdbool.h+bool to xen/types.h +bool_t in new code and think about migrating uses of bool_t over. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |