aboutsummaryrefslogtreecommitdiff
path: root/pd/extra/fiddle~
diff options
context:
space:
mode:
Diffstat (limited to 'pd/extra/fiddle~')
-rw-r--r--pd/extra/fiddle~/fiddle~.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/pd/extra/fiddle~/fiddle~.c b/pd/extra/fiddle~/fiddle~.c
index d959b00f..4633b3c0 100644
--- a/pd/extra/fiddle~/fiddle~.c
+++ b/pd/extra/fiddle~/fiddle~.c
@@ -28,11 +28,17 @@
*
*/
-#ifdef NT
+
+/* These pragmas are only used for MSVC, not MinGW or Cygwin <hans@at.or.at> */
+#ifdef _MSC_VER
+#pragma warning (disable: 4305 4244)
+#endif
+
+/* this #ifdef does nothing, but its there... */
+#ifdef _WIN32
#define flog log
#define fexp exp
#define fsqrt sqrt
-#pragma warning (disable: 4305 4244)
#else
#define flog log
#define fexp exp