[audio] Ensure FLAC doesn't use dll imports

For whatever reason, building under MXE (for windows) causes FLAC to try
to use dll import references, but setting FLAC__NO_DLL before including
FLAC/export.h fixes the issue.
This commit is contained in:
Bill Currie 2022-09-13 17:09:42 +09:00
parent a76f6c812c
commit bf7ef354d5

View file

@ -39,6 +39,7 @@
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#define FLAC__NO_DLL
#include <FLAC/export.h> #include <FLAC/export.h>
#include "qfalloca.h" #include "qfalloca.h"