]> git.sesse.net Git - vlc/blobdiff - bin/winvlc.c
WinVLC: kill "was used with no prototype before its definition"
[vlc] / bin / winvlc.c
index de71fe832cd68397bd4ed06bc6e63782aada316a..0c2543c4174f1937bec2c79c2a64d8ef64b89c21 100644 (file)
 #   include <shlobj.h>
 #   include <tlhelp32.h>
 #   include <wininet.h>
-static void check_crashdump();
+# ifndef _WIN64
+static void check_crashdump(void);
 LONG WINAPI vlc_exception_filter(struct _EXCEPTION_POINTERS *lpExceptionInfo);
+# endif
 #endif
 
 #ifndef UNDER_CE
@@ -141,11 +143,13 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
     argv[argc] = NULL;
     LocalFree (wargv);
 
+# ifndef _WIN64
     if(crash_handling)
     {
         check_crashdump();
         SetUnhandledExceptionFilter(vlc_exception_filter);
     }
+# endif /* WIN64 */
 
 #else
     char **argv, psz_cmdline[wcslen(lpCmdLine) * 4];
@@ -183,7 +187,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
     return ret;
 }
 
-#if !defined( UNDER_CE )
+#if !defined( UNDER_CE ) && !defined( _WIN64 )
 
 static void get_crashdump_path(wchar_t * wdir)
 {