mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Do not rely on ZSTD_CLEVEL_DEFAULT define
This commit is contained in:
parent
48fc286a95
commit
819e9fc615
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue