code cleanup: check for msvc directly when using warning pragma's.
This commit is contained in:
@@ -34,10 +34,10 @@
|
||||
*/
|
||||
|
||||
|
||||
#if defined(WIN32) && !defined(FREE_WINDOWS)
|
||||
// This warning tells us about truncation of __long__ stl-generated names.
|
||||
// It can occasionally cause DevStudio to have internal compiler warnings.
|
||||
#pragma warning( disable : 4786 )
|
||||
#ifdef _MSC_VER
|
||||
/* This warning tells us about truncation of __long__ stl-generated names.
|
||||
* It can occasionally cause DevStudio to have internal compiler warnings. */
|
||||
# pragma warning( disable:4786 )
|
||||
#endif
|
||||
|
||||
#include "BoolValue.h"
|
||||
|
Reference in New Issue
Block a user