diff options
author | Paweł Kołodziejski | 2005-01-27 21:34:21 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2005-01-27 21:34:21 +0000 |
commit | dd2f9da1a84e722d850747756f57cd273d435a7f (patch) | |
tree | 11699478b344d4944d5d0c7f538ba16c585db834 /backends/wince | |
parent | c0c9a68fe5d5a61ec53774249e678385aef283ac (diff) | |
download | scummvm-rg350-dd2f9da1a84e722d850747756f57cd273d435a7f.tar.gz scummvm-rg350-dd2f9da1a84e722d850747756f57cd273d435a7f.tar.bz2 scummvm-rg350-dd2f9da1a84e722d850747756f57cd273d435a7f.zip |
fix compilation
svn-id: r16651
Diffstat (limited to 'backends/wince')
-rw-r--r-- | backends/wince/CEActionsPocket.cpp | 6 | ||||
-rw-r--r-- | backends/wince/portdefs.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/backends/wince/CEActionsPocket.cpp b/backends/wince/CEActionsPocket.cpp index 42d960d004..2f348208a7 100644 --- a/backends/wince/CEActionsPocket.cpp +++ b/backends/wince/CEActionsPocket.cpp @@ -190,9 +190,9 @@ bool CEActionsPocket::perform(ActionType action, bool pushed) { case POCKET_ACTION_CURSOR: _mainSystem->swap_mouse_visibility(); return true; - case ACTION_FREELOOK: - _mainSystem->swap_freeLook(); - return true; + case POCKET_ACTION_FREELOOK: + _mainSystem->swap_freeLook(); + return true; case POCKET_ACTION_ZOOM_UP: _mainSystem->swap_zoom_up(); return true; diff --git a/backends/wince/portdefs.h b/backends/wince/portdefs.h index c8aba1a0f8..ead2437586 100644 --- a/backends/wince/portdefs.h +++ b/backends/wince/portdefs.h @@ -45,7 +45,6 @@ char *strpbrk(const char *s, const char *accept); void *bsearch(const void *, const void *, size_t, size_t, int (*x) (const void *, const void *)); char *getcwd(char *buf, int size); - #include <windows.h> #include <stdio.h> #include <stdlib.h> @@ -64,4 +63,7 @@ char *getcwd(char *buf, int size); void drawError(char*); +#define vsnprintf _vsnprintf + + #endif |