diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-17 18:46:23 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-17 18:46:23 +0000 |
commit | b880db8491271b4bd4aa87c2dd79b5e3c3dde6cf (patch) | |
tree | b4e7c071826a2c1cc45bd0b253a76764e5194c4e /skype/pthread.h | |
parent | 2f10a9e6cc4782d61f0f15bbff36209af922bd34 (diff) |
added: ieview, imo2sproxy, skype
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@175 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'skype/pthread.h')
-rw-r--r-- | skype/pthread.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/skype/pthread.h b/skype/pthread.h new file mode 100644 index 0000000..1c9f3e3 --- /dev/null +++ b/skype/pthread.h @@ -0,0 +1,26 @@ +/*
+ * $Id: pthread.h,v 1.3 2003/10/05 04:03:05 gena01 Exp $
+ *
+ * Skype Miranda Plugin
+ *
+ * Authors: Gennady Feldman (aka Gena01)
+ * Laurent Marechal (aka Peorth)
+ *
+ * Code borrowed for Skype plugin. Fixed to compile on Mingw by G.Feldman
+ * Original Copyright (c) 2003 Robert Rainwater
+ *
+ * This code is under GPL and is based on AIM, MSN and Miranda source code.
+ * I want to thank Robert Rainwater and George Hazan for their code and support
+ * and for answering some of my questions during development of this plugin.
+ */
+#ifndef PTHREAD_H
+#define PTHREAD_H
+
+unsigned long pthread_create(void (*threadcode) (void *), void *arg);
+typedef CRITICAL_SECTION pthread_mutex_t;
+#define pthread_mutex_init(pmutex) InitializeCriticalSection(pmutex)
+#define pthread_mutex_destroy(pmutex) DeleteCriticalSection(pmutex)
+#define pthread_mutex_lock(pmutex) EnterCriticalSection(pmutex)
+#define pthread_mutex_unlock(pmutex) LeaveCriticalSection(pmutex)
+
+#endif
|