mirror of
https://github.com/holub/mame
synced 2025-10-04 08:28:39 +03:00
Fix PortAudio MinGW cross-compilation
This commit is contained in:
parent
fa6442a5e6
commit
28aa7060f8
@ -56,9 +56,9 @@
|
||||
// WASAPI
|
||||
#include <mmreg.h> // must be before other Wasapi headers
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1400) || (defined(__MINGW64_VERSION_MAJOR) && (__MINGW64_VERSION_MAJOR >= 4))
|
||||
#include <Avrt.h>
|
||||
#include <avrt.h>
|
||||
#define COBJMACROS
|
||||
#include <Audioclient.h>
|
||||
#include <audioclient.h>
|
||||
#include <endpointvolume.h>
|
||||
#define INITGUID // Avoid additional linkage of static libs, excessive code will be optimized out by the compiler
|
||||
#include <mmdeviceapi.h>
|
||||
|
Loading…
Reference in New Issue
Block a user