aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/main.c
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2010-01-05 22:49:36 +0000
committerN.N. <matju@users.sourceforge.net>2010-01-05 22:49:36 +0000
commit8dbec761cf858ea65900c8a094599857208d8c3a (patch)
tree3228c023f87f23a354da3b57fdc2afe5b7052032 /desiredata/src/main.c
parent529e59635598e2d90a7a49f6b4c676f8366109ba (diff)
svn path=/trunk/; revision=12907
Diffstat (limited to 'desiredata/src/main.c')
-rw-r--r--desiredata/src/main.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/desiredata/src/main.c b/desiredata/src/main.c
deleted file mode 100644
index cf4a6593..00000000
--- a/desiredata/src/main.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* this file is separate because it is outside of libpd.so */
-
-extern "C" int sys_main(int argc, char **argv);
-#if _MSC_VER
-#include <windows.h>
-#include <stdio.h>
-int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
- __try {
- sys_main(__argc,__argv);
- } __finally {
- printf("caught an exception; stopping\n");
- }
-}
-#else /* not MSVC */
-int main(int argc, char **argv) {return sys_main(argc, argv);}
-#endif
-