Merge pull request #552 from PortAudio/winrt

wasapi: Fixed compilation with MinGW (W64)
This commit is contained in:
Dmitry Kostjuchenko 2021-04-29 09:27:50 +03:00 committed by GitHub
commit 39bfe6c63d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,12 +172,14 @@
#include <oleidl.h> #include <oleidl.h>
#include <objidl.h> #include <objidl.h>
#else #else
typedef struct _BYTE_BLOB #ifndef _BLOB_DEFINED
{ typedef struct _BYTE_BLOB
unsigned long clSize; {
unsigned char abData[ 1 ]; unsigned long clSize;
} BYTE_BLOB; unsigned char abData[ 1 ];
typedef /* [unique] */ __RPC_unique_pointer BYTE_BLOB *UP_BYTE_BLOB; } BYTE_BLOB;
typedef /* [unique] */ __RPC_unique_pointer BYTE_BLOB *UP_BYTE_BLOB;
#endif
typedef LONGLONG REFERENCE_TIME; typedef LONGLONG REFERENCE_TIME;
#define NONAMELESSUNION #define NONAMELESSUNION
#endif #endif