X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2FFGCommonInput.hxx;h=cc427d6392750a639b714b561ad06958018139a4;hb=f6c3a41b92f1e40749dfcd3b1afac5013ecaf719;hp=7eee91526b04e90670c4f127d19f94146fb8fd89;hpb=aea9c750f3f839817f8dcbdd7bc6bb4f81b97836;p=flightgear.git diff --git a/src/Input/FGCommonInput.hxx b/src/Input/FGCommonInput.hxx index 7eee91526..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" @@ -38,14 +39,14 @@ class FGCommonInput { public: - typedef vector > binding_list_t; + typedef std::vector > binding_list_t; /* read all "binding" nodes directly under the specified base node and fill the vector of SGBinding supplied in binding_list. Reads all the mod-xxx bindings and add the corresponding SGBindings. */ - static void read_bindings (const SGPropertyNode * base, binding_list_t * binding_list, int modifiers, string & module ); + static void read_bindings (const SGPropertyNode * base, binding_list_t * binding_list, int modifiers, const std::string & module ); }; #endif