]> Repos - portaudio/commitdiff
Fix for ticket #257: MinGW-w64: Inclusion of <winioctl.h> triggers multiple redefinit...
authorRoss Bencina <rossb@audiomulch.com>
Sun, 2 Oct 2016 09:34:04 +0000 (20:34 +1100)
committerRoss Bencina <rossb@audiomulch.com>
Sun, 2 Oct 2016 09:34:04 +0000 (20:34 +1100)
src/hostapi/wdmks/pa_win_wdmks.c

index 129b9e2e398d5e1856160f90dd30c6cfde51edac..70a48d8ffae840d31500df4af1e3f5a644137e15 100644 (file)
@@ -94,7 +94,9 @@ of a device for the duration of active stream using those devices
 #endif
 
 #include <windows.h>
+#ifndef __GNUC__ /* Fix for ticket #257: MinGW-w64: Inclusion of <winioctl.h> triggers multiple redefinition errors. */
 #include <winioctl.h>
+#endif
 #include <process.h>
 
 #include <math.h>