1
0
mirror of https://github.com/facebook/zstd.git synced 2025-12-26 16:07:03 +02:00
Files
zstd/lib/common/debug.c
Nick Terrell e122fcbf58 [debug] Don't define g_debuglevel in the kernel
We only use this constant when `DEBUGLEVEL>=2`, but we get
-Werror=pedantic errors for empty translation units, so still define it
except in kernel environments.

Backport from the kernel:

https://lore.kernel.org/lkml/20230616144400.172683-1-ben.dooks@codethink.co.uk/
2023-11-17 09:54:10 -08:00

1.1 KiB