From: dmitrykos Date: Tue, 2 Mar 2010 12:17:03 +0000 (+0000) Subject: fixed dummy compilation of pa_win_wasapi.cpp using MinGW(GCC) compilers by adding... X-Git-Tag: pa_stable_v19_20110326_r1647~166 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=885ae2d3f3f43b193f8209f5fac32575b0380e1d;p=portaudio fixed dummy compilation of pa_win_wasapi.cpp using MinGW(GCC) compilers by adding missing Avrt type --- 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"