Fix build for some versions of MinGW.

This commit is contained in:
David Reid
2017-11-13 21:33:54 +10:00
parent 6ca0ec2032
commit 0ee4296dcc
+1 -1
View File
@@ -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;