From d68f8326740a6a8d0b97b00e774d23c1a5c336a2 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sat, 31 Dec 2005 20:55:25 +0000 Subject: Took a bunch of patches... more to come but these are the ones that might break stuff so I'll sync here. svn path=/trunk/; revision=4336 --- pd/src/m_pd.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pd/src/m_pd.h') diff --git a/pd/src/m_pd.h b/pd/src/m_pd.h index 41e0ffae..9ad00c5d 100644 --- a/pd/src/m_pd.h +++ b/pd/src/m_pd.h @@ -17,12 +17,13 @@ extern "C" { #define MSW #endif -#ifdef MSW +/* These pragmas are only used for MSVC, not MinGW or Cygwin */ +#ifdef _MSC_VER /* #pragma warning( disable : 4091 ) */ #pragma warning( disable : 4305 ) /* uncast const double to float */ #pragma warning( disable : 4244 ) /* uncast float/int conversion etc. */ #pragma warning( disable : 4101 ) /* unused automatic variables */ -#endif /* MSW */ +#endif /* _MSC_VER */ /* the external storage class is "extern" in UNIX; in MSW it's ugly. */ #ifdef MSW -- cgit v1.2.1