mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
Guard against DEBUG Redefinition
Undefine DEBUG to avoid external redefinition warnings/conflicts. This is probably a common definition for many external build systems' debug configurations. This ensures raylib will not emit a warning about the DEBUG definition being redefined in external build systems.
This commit is contained in:
7
src/external/jar_xm.h
vendored
7
src/external/jar_xm.h
vendored
@@ -232,6 +232,13 @@ uint64_t jar_xm_get_remaining_samples(jar_xm_context_t* ctx);
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef DEBUG
|
||||
// Undefine DEBUG to avoid external redefinition warnings/conflicts
|
||||
// This is probably a common definition for
|
||||
// many external build systems' debug configurations
|
||||
#undef DEBUG
|
||||
#endif
|
||||
|
||||
#if JAR_XM_DEBUG //JAR_XM_DEBUG defined as 0
|
||||
#include <stdio.h>
|
||||
#define DEBUG(fmt, ...) do { \
|
||||
|
Reference in New Issue
Block a user