code cleanup: check for msvc directly when using warning pragma's.

This commit is contained in:
Campbell Barton
2012-10-15 02:15:07 +00:00
parent 977aaeb95c
commit 4d4664d98f
62 changed files with 280 additions and 314 deletions

View File

@@ -31,9 +31,9 @@
*/
#if defined(WIN32) && !defined(FREE_WINDOWS)
#pragma warning (disable : 4786)
#endif //WIN32
#ifdef _MSC_VER
# pragma warning (disable:4786)
#endif
#ifdef WITH_PYTHON