... that has already defined the NOT_REACHED macro Add an #ifndef guard around NOT_REACHED macro. --- lib/util.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/lib/util.h b/lib/util.h index 462247b..1680cd6 100644 --- a/lib/util.h +++ b/lib/util.h @@ -150,7 +150,9 @@ is_pow2(uintmax_t x) #define MAX(X, Y) ((X) > (Y) ? (X) : (Y)) #endif +#ifndef NOT_REACHED #define NOT_REACHED() abort() +#endif /* Expands to a string that looks like "<file>:<line>", e.g. "tmp.c:10". * -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev