add action and menu item to control use of skip playback
[ardour.git] / gtk2_ardour / canvas-waveview.c
index 2080b208d8a2eb6f839cc0657bf3c72e58d6a98c..6aff1be771c3ee77391a06a5c315ce22f53029fb 100644 (file)
@@ -35,7 +35,7 @@
 /* POSIX guarantees casting between void* and function pointers, ISO C doesn't
  * We can work around warnings by going one step deeper in our casts
  */
-#ifdef _POSIX_VERSION
+#if defined(_POSIX_VERSION) || defined(COMPILER_MINGW)
 #define POSIX_FUNC_PTR_CAST(type, object) *((type*) &(object))
 #endif // _POSIX_VERSION