]> wimlib.net Git - wimlib/blobdiff - include/wimlib/compiler.h
compiler.h: remove _cold_attribute
[wimlib] / include / wimlib / compiler.h
index 40f9276254c4e663cdb5aef7887aa4df5fc0bc63..2f7125450d4d6fc3852b965ffa3b0d746cd72a16 100644 (file)
 /* 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.  */