mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
AUDIO: Fix mikmod.h build on Windows
setjmp() and unlink() symbols may be triggered on Windows.
This commit is contained in:
parent
db9f13d475
commit
791547f10d
@ -23,6 +23,12 @@
|
||||
// mikmod headers.
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_FILE
|
||||
|
||||
// On Windows, unlink and setjmp may also be triggered.
|
||||
#if defined(WIN32)
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_unlink
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_setjmp
|
||||
#endif
|
||||
|
||||
#include "audio/mods/impulsetracker.h"
|
||||
|
||||
#ifdef USE_MIKMOD
|
||||
|
Loading…
x
Reference in New Issue
Block a user