Commit 0ee4296d authored by David Reid's avatar David Reid

Fix build for some versions of MinGW.

parent 6ca0ec20
...@@ -2775,7 +2775,7 @@ static mal_result mal_device__main_loop__null(mal_device* pDevice) ...@@ -2775,7 +2775,7 @@ static mal_result mal_device__main_loop__null(mal_device* pDevice)
// The SDK that comes with old versions of MSVC (VC6, for example) does not appear to define WAVEFORMATEXTENSIBLE. We // The SDK that comes with old versions of MSVC (VC6, for example) does not appear to define WAVEFORMATEXTENSIBLE. We
// define our own implementation in this case. // define our own implementation in this case.
#ifndef _WAVEFORMATEXTENSIBLE_ #if defined(_MSC_VER) && !defined(_WAVEFORMATEXTENSIBLE_)
typedef struct typedef struct
{ {
WAVEFORMATEX Format; WAVEFORMATEX Format;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment