Browse Source

Merge pull request #4835 from NiamhNightglow/master

Guard against DEBUG Redefinition
pull/4839/head
Ray 2 days ago
committed by GitHub
parent
commit
a0318e67aa
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/external/jar_xm.h

+ 7
- 0
src/external/jar_xm.h View File

@ -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 { \

||||||
x
 
000:0
Loading…
Cancel
Save