mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 08:14:04 +02:00
Fix build for some versions of MinGW.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user