diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2012-10-15 03:50:19 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2012-10-15 03:50:19 +0000 |
commit | 1f8d655dc9a8d09a06f638b3417f44b5e2c75e85 (patch) | |
tree | 256d7487f8bcf5a8647aad4cf7109270c2fd0e65 /plugins/!NotAdopted/Skype/pthread.c | |
parent | b41d9f7ac1bf955394082f491578a14d5875631f (diff) |
Skype protocol ported (untested)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1943 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/Skype/pthread.c')
-rwxr-xr-x[-rw-r--r--] | plugins/!NotAdopted/Skype/pthread.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/plugins/!NotAdopted/Skype/pthread.c b/plugins/!NotAdopted/Skype/pthread.c index f9944257c2..95271125e8 100644..100755 --- a/plugins/!NotAdopted/Skype/pthread.c +++ b/plugins/!NotAdopted/Skype/pthread.c @@ -14,22 +14,22 @@ * and for answering some of my questions during development of this plugin.
*/
-#include "skype.h"
+//#include "skype.h"
/* Gena01 - added some defined to fix compilation with mingw gcc */
/* __try/__finally taken from abiword patch found on the web */
-#if 0
- #include <crtdbg.h>
-#else
-#define __try
-#define __except(x) if (0) /* don't execute handler */
-#define __finally
-
-#define _try __try
-#define _except __except
-#define _finally __finally
-#endif
+//#if 0
+// #include <crtdbg.h>
+///#else
+//#define __try
+//#define __except(x) if (0) /* don't execute handler */
+//#define __finally
+//#define _try __try
+//#define _except __except
+//#define _finally __finally
+//#endif
+/*
#include <excpt.h>
struct pthread_arg
@@ -44,6 +44,7 @@ void pthread_r(struct pthread_arg *fa) void (*callercode) (void *) = fa->threadcode;
void *arg = fa->arg;
CallService(MS_SYSTEM_THREAD_PUSH, 0, 0);
+ Miranda_Terminated
SetEvent(fa->hEvent);
__try {
callercode(arg);
@@ -67,4 +68,4 @@ unsigned long pthread_create(pThreadFunc parFunc, void *arg) CloseHandle(fa.hEvent);
return rc;
}
-
+*/
|