Skip to content
Permalink
Browse files

Fixed warnings in NO_STDIO mode

  • Loading branch information
slouken committed Jul 20, 2007
1 parent c49af1c commit 6980dd452ef409c9efd3f8683144f432c48d4947
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/main/win32/SDL_win32_main.c
@@ -234,12 +234,6 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
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 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
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

0 comments on commit 6980dd4

Please sign in to comment.