diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-15 06:15:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-15 06:15:07 +0400 |
commit | 4d4664d98f49cfb171a43bd6ae6bb002b5f3c34b (patch) | |
tree | e458f200b0061c4adec3a0d5b8f7f523b647c036 /source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.cpp | |
parent | 977aaeb95c2946f2c8d83dd6a15979424a869eda (diff) |
code cleanup: check for msvc directly when using warning pragma's.
Diffstat (limited to 'source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.cpp')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.cpp b/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.cpp index 54c60096812..f4e325eabb8 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.cpp +++ b/source/gameengine/BlenderRoutines/KX_BlenderKeyboardDevice.cpp @@ -30,9 +30,9 @@ */ -#if defined(WIN32) && !defined(FREE_WINDOWS) -// annoying warnings about truncated STL debug info -#pragma warning (disable :4786) +#ifdef _MSC_VER + /* annoying warnings about truncated STL debug info */ +# pragma warning (disable:4786) #endif #include "KX_BlenderKeyboardDevice.h" |