X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fcompiler.h;h=221df6881e88676a9ba40a82693210d9216c2ccc;hb=79d279cf4581fc0295576e33a28faf65686bee2c;hp=567f07d074007bdd11566f3508dc245feda19e2d;hpb=f2d4403b993204bffba09dca31b424d158218209;p=wimlib diff --git a/include/wimlib/compiler.h b/include/wimlib/compiler.h index 567f07d0..221df688 100644 --- a/include/wimlib/compiler.h +++ b/include/wimlib/compiler.h @@ -15,6 +15,7 @@ # define WIMLIBAPI __attribute__((visibility("default"))) # endif # define _always_inline_attribute inline __attribute__((always_inline)) +# define _no_inline_attribute __attribute__((noinline)) # define _packed_attribute __attribute__((packed)) # define _format_attribute(type, format_str, args_start) \ /*__attribute__((format(type, format_str, args_start))) */ @@ -34,6 +35,7 @@ #else # define WIMLIBAPI # define _always_inline_attribute inline +# define _no_inline_attribute # define _format_attribute(type, format_str, args_start) # define _cold_attribute # define _packed_attribute