virtualx-engine/thirdparty/zstd/common/debug.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
1.1 KiB
C
Raw Normal View History

2019-01-04 01:30:03 +01:00
/* ******************************************************************
2020-09-18 21:38:36 +02:00
* debug
* Part of FSE library
* Copyright (c) Meta Platforms, Inc. and affiliates.
2020-09-18 21:38:36 +02:00
*
* You can contact the author at :
* - Source repository : https://github.com/Cyan4973/FiniteStateEntropy
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
* You may select, at your option, one of the above-listed licenses.
2019-01-04 01:30:03 +01:00
****************************************************************** */
/*
* This module only hosts one global variable
* which can be used to dynamically influence the verbosity of traces,
* such as DEBUGLOG and RAWLOG
*/
#include "debug.h"
#if !defined(ZSTD_LINUX_KERNEL) || (DEBUGLEVEL>=2)
/* We only use this when DEBUGLEVEL>=2, but we get -Werror=pedantic errors if a
* translation unit is empty. So remove this from Linux kernel builds, but
* otherwise just leave it in.
*/
2019-01-04 01:30:03 +01:00
int g_debuglevel = DEBUGLEVEL;
#endif