diff options
Diffstat (limited to 'src/libjin/Input/je_mouse.cpp')
-rw-r--r-- | src/libjin/Input/je_mouse.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libjin/Input/je_mouse.cpp b/src/libjin/Input/je_mouse.cpp index 45fb8df..476b1a2 100644 --- a/src/libjin/Input/je_mouse.cpp +++ b/src/libjin/Input/je_mouse.cpp @@ -1,5 +1,5 @@ #include "../core/je_configuration.h" -#ifdef LIBJIN_MODULES_INPUT +#if defined(jin_input) #include "SDL.h" @@ -12,9 +12,9 @@ namespace JinEngine void Mouse::getState(int* x, int* y) { - #ifdef LIBJIN_INPUT_SDL + #ifdef jin_input == jin_input_sdl SDL_GetMouseState(x, y); - #endif // LIBJIN_INPUT_SDL + #endif } void Mouse::setVisible(bool visible) @@ -25,4 +25,4 @@ namespace JinEngine } // namespace Input } // namespace JinEngine -#endif // LIBJIN_MODULES_INPUT
\ No newline at end of file +#endif // defined(jin_input)
\ No newline at end of file |