Fix headless and debug build
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
6630dacd37
commit
818d9d3254
2 changed files with 4 additions and 2 deletions
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
#ifndef HEADLESS
|
#ifndef HEADLESS
|
||||||
# include "dgl/Base.hpp"
|
# include "dgl/Base.hpp"
|
||||||
|
#else
|
||||||
|
# include "extra/LeakDetector.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
// fix blendish build, missing symbol in debug mode
|
// fix blendish build, missing symbol in debug mode
|
||||||
#ifdef DEBUG
|
#ifndef NDEBUG
|
||||||
extern "C" {
|
extern "C" {
|
||||||
float bnd_clamp(float v, float mn, float mx) {
|
float bnd_clamp(float v, float mn, float mx) {
|
||||||
return (v > mx)?mx:(v < mn)?mn:v;
|
return (v > mx)?mx:(v < mn)?mn:v;
|
||||||
|
@ -28,7 +28,7 @@ float bnd_clamp(float v, float mn, float mx) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// fix bogaudio build, another missing symbol
|
// fix bogaudio build, another missing symbol
|
||||||
#ifdef DEBUG
|
#ifndef NDEBUG
|
||||||
namespace bogaudio {
|
namespace bogaudio {
|
||||||
struct FollowerBase {
|
struct FollowerBase {
|
||||||
static float efGainMaxDecibelsDebug;
|
static float efGainMaxDecibelsDebug;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue