aboutsummaryrefslogtreecommitdiff
path: root/pd/src/d_mayer_fft.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/d_mayer_fft.c')
-rw-r--r--pd/src/d_mayer_fft.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pd/src/d_mayer_fft.c b/pd/src/d_mayer_fft.c
index da77e048..860b3120 100644
--- a/pd/src/d_mayer_fft.c
+++ b/pd/src/d_mayer_fft.c
@@ -48,7 +48,8 @@
* of work. -msp
*/
-#ifdef MSW
+/* These pragmas are only used for MSVC, not MinGW or Cygwin <hans@at.or.at> */
+#ifdef _MSC_VER
#pragma warning( disable : 4305 ) /* uncast const double to float */
#pragma warning( disable : 4244 ) /* uncast double to float */
#pragma warning( disable : 4101 ) /* unused local variables */