From 885ae2d3f3f43b193f8209f5fac32575b0380e1d Mon Sep 17 00:00:00 2001 From: dmitrykos Date: Tue, 2 Mar 2010 12:17:03 +0000 Subject: [PATCH] fixed dummy compilation of pa_win_wasapi.cpp using MinGW(GCC) compilers by adding missing Avrt type --- src/hostapi/wasapi/pa_win_wasapi.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/hostapi/wasapi/pa_win_wasapi.cpp b/src/hostapi/wasapi/pa_win_wasapi.cpp index a3bbcf4..4315dcf 100644 --- a/src/hostapi/wasapi/pa_win_wasapi.cpp +++ b/src/hostapi/wasapi/pa_win_wasapi.cpp @@ -58,6 +58,16 @@ #undef INITGUID #endif +#ifndef _AVRT_ //<< fix MinGW dummy compile by defining missing type: AVRT_PRIORITY +typedef enum _AVRT_PRIORITY +{ + AVRT_PRIORITY_LOW = -1, + AVRT_PRIORITY_NORMAL, + AVRT_PRIORITY_HIGH, + AVRT_PRIORITY_CRITICAL +} AVRT_PRIORITY, *PAVRT_PRIORITY; +#endif + #include "pa_util.h" #include "pa_allocation.h" #include "pa_hostapi.h" -- 2.43.0