[vlc-devel] commit: Do not use crashdumps on Win64 (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 19 15:52:57 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 15:52:15 2009 +0200| [3e9c8d1bd8cb4b1e78a74ebe6292d967c5134141] | committer: Jean-Baptiste Kempf 

Do not use crashdumps on Win64

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e9c8d1bd8cb4b1e78a74ebe6292d967c5134141
---

 bin/winvlc.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index de71fe8..7b144c8 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -42,8 +42,10 @@
 #   include <shlobj.h>
 #   include <tlhelp32.h>
 #   include <wininet.h>
+# ifndef _WIN64
 static void check_crashdump();
 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)
 {




More information about the vlc-devel mailing list