X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fcompiler.h;h=5ede8b21802e3610eb4385640948feb5102896c9;hb=9af3c2c72729536f5822c78572510b251895eb70;hp=4a69adf066c59cacd63caea63ec8110dd43fff39;hpb=b75b0ec399b1217568e08e567afdefaea0bd32ef;p=coloredstderr%2Fcoloredstderr.git diff --git a/src/compiler.h b/src/compiler.h index 4a69adf..5ede8b2 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -24,9 +24,11 @@ #ifdef HAVE___ATTRIBUTE__ # define noinline __attribute__((noinline)) # define always_inline __attribute__((always_inline)) +# define unused __attribute__((unused)) #else # define noinline # define always_inline +# define unused #endif /* Branch prediction information for the compiler. */