Mercurial > sdl-ios-xcode
diff src/main/win32/SDL_win32_main.c @ 4084:70e77cbba87c SDL-1.2
Fixed warnings in NO_STDIO mode
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 20 Jul 2007 02:58:28 +0000 |
parents | 290b5baf2fca |
children | 3c068a8c016f |
line wrap: on
line diff
--- a/src/main/win32/SDL_win32_main.c Thu Jul 19 08:12:45 2007 +0000 +++ b/src/main/win32/SDL_win32_main.c Fri Jul 20 02:58:28 2007 +0000 @@ -234,12 +234,6 @@ char **argv; int argc; char *cmdline; - DWORD pathlen; -#ifdef _WIN32_WCE - wchar_t path[MAX_PATH]; -#else - char path[MAX_PATH]; -#endif #ifdef _WIN32_WCE wchar_t *bufp; int nLen; @@ -248,6 +242,12 @@ size_t nLen; #endif #ifndef NO_STDIO_REDIRECT + DWORD pathlen; +#ifdef _WIN32_WCE + wchar_t path[MAX_PATH]; +#else + char path[MAX_PATH]; +#endif FILE *newfp; #endif