diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-12-31 20:55:25 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-12-31 20:55:25 +0000 |
commit | d68f8326740a6a8d0b97b00e774d23c1a5c336a2 (patch) | |
tree | fe4a64fcea60bd35d214ac6813cd598af97b87ef /pd/src/m_pd.h | |
parent | 1498e89f88d0a090a59ceb4cf19daf9d9c8963c5 (diff) |
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
Diffstat (limited to 'pd/src/m_pd.h')
-rw-r--r-- | pd/src/m_pd.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <hans@at.or.at> */ +#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 |