From 924a8497551be7d83bb577e94ebf89b18374b874 Mon Sep 17 00:00:00 2001 From: Chris Want Date: Sat, 24 May 2003 20:04:37 +0000 Subject: Support for building bf-blender under windows with gcc (huge thanks to Florian Eggenburger). Full instructions are in doc/README.windows-gcc. Main differences from Florian's patch: - the 'lib' dir should now be the same level as the 'blender' dir (rather than being a subdir of 'blender'). This is consistent with the other platforms that bf-blender supports (tuhopuu will also adopt this convention hopefully soon). - the script 'free_windows-env.mk' is no longer needed ... see the docs about how this is overcome (again, tuhopuu will hopefully also follow this route soon). - the dlltool dir has it's own Makefile that builds all of the needed stub libraries from the dll's in cvs. --- source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source/gameengine/BlenderRoutines') diff --git a/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h b/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h index 24cd17415ac..02bae96d840 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h @@ -36,11 +36,16 @@ #pragma warning(disable : 4786) // shut off 255 char limit debug template warning #endif +#include + /* need to be here for conversion purposes */ +#ifdef FREE_WINDOWS +#undef HKEY +#endif + #include "mydevice.h" #include "SCA_IInputDevice.h" -#include /** Base Class for Blender specific inputdevices. Blender specific inputdevices are used when the gameengine is running in embedded mode instead of standalone mode. */ -- cgit v1.2.3