aboutsummaryrefslogtreecommitdiff
path: root/pd/extra/expr~/vexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'pd/extra/expr~/vexp.h')
-rw-r--r--pd/extra/expr~/vexp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pd/extra/expr~/vexp.h b/pd/extra/expr~/vexp.h
index 92dfb06e..d096842f 100644
--- a/pd/extra/expr~/vexp.h
+++ b/pd/extra/expr~/vexp.h
@@ -236,9 +236,13 @@ extern void ex_store(t_expr *expr, long int argc, struct ex_ex *argv,
int value_getonly(t_symbol *s, t_float *f);
-#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
+#ifdef _WIN32
#define abort ABORT
void ABORT(void);
#endif