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
|
@ -19,7 +19,7 @@
|
|||
#include <cstring>
|
||||
|
||||
// fix blendish build, missing symbol in debug mode
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
extern "C" {
|
||||
float bnd_clamp(float v, float mn, float mx) {
|
||||
return (v > mx)?mx:(v < mn)?mn:v;
|
||||
|
@ -28,7 +28,7 @@ float bnd_clamp(float v, float mn, float mx) {
|
|||
#endif
|
||||
|
||||
// fix bogaudio build, another missing symbol
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
namespace bogaudio {
|
||||
struct FollowerBase {
|
||||
static float efGainMaxDecibelsDebug;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue