diff --git a/src/Input/FGCommonInput.hxx b/src/Input/FGCommonInput.hxx index 558510021..cc427d639 100644 --- a/src/Input/FGCommonInput.hxx +++ b/src/Input/FGCommonInput.hxx @@ -27,10 +27,11 @@ #include #include +#include -#if defined( UL_WIN32 ) +#if defined( SG_WINDOWS ) #define TGT_PLATFORM "windows" -#elif defined ( UL_MAC_OSX ) +#elif defined ( SG_MAC ) #define TGT_PLATFORM "mac" #else #define TGT_PLATFORM "unix" diff --git a/src/Input/input.cxx b/src/Input/input.cxx index d32c207d5..3804e8e94 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -27,16 +27,19 @@ #endif #include "input.hxx" + +#include + #include "FGMouseInput.hxx" #include "FGKeyboardInput.hxx" #include "FGJoystickInput.hxx" #ifdef WITH_EVENTINPUT -#if defined( UL_WIN32 ) +#if defined( SG_WINDOWS ) //to be developed //#include "FGDirectXEventInput.hxx" //#define INPUTEVENT_CLASS FGDirectXEventInput -#elif defined ( UL_MAC_OSX ) +#elif defined ( SG_MAC ) #include "FGMacOSXEventInput.hxx" #define INPUTEVENT_CLASS FGMacOSXEventInput #else