From 526b5580dabbfed7cfe5439dc3a90ec727f563c2 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Sun, 24 May 2009 21:28:16 +0000 Subject: Cut the files in half and it might work better (note to self: check your tree is really clean before patching) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21070 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pdbox/PDa/src/s_entry.c | 50 ------------------------------------ 1 file changed, 50 deletions(-) (limited to 'apps/plugins/pdbox/PDa/src/s_entry.c') diff --git a/apps/plugins/pdbox/PDa/src/s_entry.c b/apps/plugins/pdbox/PDa/src/s_entry.c index 23a5cb7..fd7b4c5 100644 --- a/apps/plugins/pdbox/PDa/src/s_entry.c +++ b/apps/plugins/pdbox/PDa/src/s_entry.c @@ -49,54 +49,4 @@ int main(int argc, char **argv) return (sys_main(argc, argv)); } #endif -/* In MSW, this is all there is to pd; the rest sits in a "pdlib" dll so -that externs can link back to functions defined in pd. */ - -#include - -int sys_main(int argc, char **argv); - - /* WINBASEAPI PVOID WINAPI AddVectoredExceptionHandler( - ULONG FirstHandler, - PVECTORED_EXCEPTION_HANDLER VectoredHandler ); */ - -#ifdef MSW -#if 0 -#incldue "winbase.h" - -LONG NTAPI VectoredExceptionHandler(void *PEXCEPTION_POINTERS) -{ - fprintf(stderr, "caught exception\n"); - return(EXCEPTION_CONTINUE_SEARCH); -} - - -int main(int argc, char **argv) -{ - printf("Pd entry point\n"); - AddVectoredExceptionHandler( - ULONG FirstHandler, - PVECTORED_EXCEPTION_HANDLER VectoredHandler ); - -#endif - -#if 1 -int main(int argc, char **argv) -{ - __try - { - sys_main(argc, argv); - } - __finally - { - printf("caught an exception; stopping\n"); - } -} -#endif -#else /* not MSW */ -int main(int argc, char **argv) -{ - return (sys_main(argc, argv)); -} -#endif -- cgit v1.1