mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Introduce BROTLI_COLD
PiperOrigin-RevId: 799674933
This commit is contained in:
committed by
Copybara-Service
parent
643b22949d
commit
cb29dec4ed
@@ -605,4 +605,10 @@ BROTLI_UNUSED_FUNCTION void BrotliSuppressUnusedFunctions(void) {
|
||||
#define BROTLI_MODEL(M) /* M */
|
||||
#endif
|
||||
|
||||
#if BROTLI_GNUC_HAS_ATTRIBUTE(cold, 4, 3, 0)
|
||||
#define BROTLI_COLD __attribute__((cold))
|
||||
#else
|
||||
#define BROTLI_COLD /* cold */
|
||||
#endif
|
||||
|
||||
#endif /* BROTLI_COMMON_PLATFORM_H_ */
|
||||
|
||||
Reference in New Issue
Block a user