mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 02:22:26 +01:00
Do not rely on ZSTD_CLEVEL_DEFAULT define
This commit is contained in:
@ -44,6 +44,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "util/png.h"
|
#include "util/png.h"
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
// only available in zstd 1.3.5+
|
||||||
|
#ifndef ZSTD_CLEVEL_DEFAULT
|
||||||
|
#define ZSTD_CLEVEL_DEFAULT 3
|
||||||
|
#endif
|
||||||
|
|
||||||
// log([level,] text)
|
// log([level,] text)
|
||||||
// Writes a line to the logger.
|
// Writes a line to the logger.
|
||||||
// The one-argument version logs to LL_NONE.
|
// The one-argument version logs to LL_NONE.
|
||||||
|
Reference in New Issue
Block a user