X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fcompiler.h;h=ccc949ba1534db1b1b69d8812c1aecce7ecf267b;hb=29ab0cf77c2a03e1c5e61f8899c33ad74762a710;hp=fb4d46cd1fd7b1ed11ab24dd5a6c7ad58749dd62;hpb=1dd16b9a274afbde46c9d9a4052d720d4cf3c3e2;p=sliver-openvswitch.git diff --git a/lib/compiler.h b/lib/compiler.h index fb4d46cd1..ccc949ba1 100644 --- a/lib/compiler.h +++ b/lib/compiler.h @@ -20,6 +20,9 @@ #ifndef __has_feature #define __has_feature(x) 0 #endif +#ifndef __has_extension + #define __has_extension(x) 0 +#endif #if __GNUC__ && !__CHECKER__ #define NO_RETURN __attribute__((__noreturn__))