X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=src%2Fcompiler.h;h=4a69adf066c59cacd63caea63ec8110dd43fff39;hp=9e23e238efa2c30ec52e9be5a20f50b7ef097876;hb=b75b0ec399b1217568e08e567afdefaea0bd32ef;hpb=488159627f4f579a80b71c5f7713126864d5623f diff --git a/src/compiler.h b/src/compiler.h index 9e23e23..4a69adf 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -21,14 +21,12 @@ #define COMPILER_H 1 /* Prevent/force inlining. Used to improve performance. */ -#undef __noinline -#undef __always_inline #ifdef HAVE___ATTRIBUTE__ -# define __noinline __attribute__((noinline)) -# define __always_inline __attribute__((always_inline)) +# define noinline __attribute__((noinline)) +# define always_inline __attribute__((always_inline)) #else -# define __noinline -# define __always_inline +# define noinline +# define always_inline #endif /* Branch prediction information for the compiler. */