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)
// 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.
#ifndef _WAVEFORMATEXTENSIBLE_
#if defined(_MSC_VER) && !defined(_WAVEFORMATEXTENSIBLE_)
typedef struct
{
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