changeset 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 a66ac59b3939
children 51486c979189
files src/main/win32/SDL_win32_main.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
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