[Bf-blender-cvs] [0c1ff4b] master: Hacky fixes can apply to more then one compiler. TODO: really get rid of any and all bare #include <windows.h> in the codebase in favour of central BLI_winstuff.h.
Martijn Berger
noreply at git.blender.org
Tue Sep 2 13:42:24 CEST 2014
Commit: 0c1ff4b75b4c856f414eec0526658d0ff38ebf1f
Author: Martijn Berger
Date: Tue Sep 2 13:39:02 2014 +0200
Branches: master
https://developer.blender.org/rB0c1ff4b75b4c856f414eec0526658d0ff38ebf1f
Hacky fixes can apply to more then one compiler.
TODO: really get rid of any and all bare #include <windows.h> in
the codebase in favour of central BLI_winstuff.h.
===================================================================
M source/blender/windowmanager/wm_event_types.h
===================================================================
diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h
index cebe2a4..f50f98e 100644
--- a/source/blender/windowmanager/wm_event_types.h
+++ b/source/blender/windowmanager/wm_event_types.h
@@ -97,7 +97,7 @@ enum {
EKEY = 0x0065, /* 'e' */
FKEY = 0x0066, /* 'f' */
GKEY = 0x0067, /* 'g' */
-#ifndef _MSC_VER
+#ifndef WIN32
HKEY = 0x0068, /* 'h' */
#else
#define HKEY 0x0068
More information about the Bf-blender-cvs
mailing list