X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fcompiler.h;h=2f7125450d4d6fc3852b965ffa3b0d746cd72a16;hb=3bd168c181a618a1c52bdd9bfaa005496fa3b1f1;hp=40f9276254c4e663cdb5aef7887aa4df5fc0bc63;hpb=5a50cccf768a6bf6e9ccfd2337bcedc0cbf1ba6c;p=wimlib diff --git a/include/wimlib/compiler.h b/include/wimlib/compiler.h index 40f92762..2f712545 100644 --- a/include/wimlib/compiler.h +++ b/include/wimlib/compiler.h @@ -73,13 +73,6 @@ /* Prefetch into L1 cache for write. */ #define prefetchw(addr) __builtin_prefetch((addr), 1) -/* Hint that the annotated function is rarely called. */ -#if GCC_PREREQ(4, 4) || __has_attribute(cold) -# define _cold_attribute __attribute__((cold)) -#else -# define _cold_attribute -#endif - /* Hint that the annotated function takes a printf()-like format string and * arguments. This is currently disabled on Windows because MinGW does not * support this attribute on functions taking wide-character strings. */