diff options
| author | chai <chaifix@163.com> | 2018-10-21 16:21:16 +0800 | 
|---|---|---|
| committer | chai <chaifix@163.com> | 2018-10-21 16:21:16 +0800 | 
| commit | 07770f3ad369ff47386310b731d349f7af1fe0d9 (patch) | |
| tree | 7547b1a8b2beaceb31ea1b62edbdaa5cd6a1b247 /src/libjin/Input/je_mouse.cpp | |
| parent | 066e5987c515dfc34537d73ca9d2a81ddd1f9e1b (diff) | |
*修改编译控制
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 | 
