Do not rely on ZSTD_CLEVEL_DEFAULT define

This commit is contained in:
sfan5 2023-03-29 22:58:39 +02:00
parent 48fc286a95
commit 819e9fc615

@ -44,6 +44,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "util/png.h"
#include <cstdio>
// only available in zstd 1.3.5+
#ifndef ZSTD_CLEVEL_DEFAULT
#define ZSTD_CLEVEL_DEFAULT 3
#endif
// log([level,] text)
// Writes a line to the logger.
// The one-argument version logs to LL_NONE.