summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2005-08-28 21:42:28 +0000
committerBruce Momjian2005-08-28 21:42:28 +0000
commit9a025b4f7bdf264f0893895b66d9ecd8123e0bb1 (patch)
tree6e4a99879778d57b409c1270468204f92da61046
parent0bfd22d99ce57499d9c26e064a0506f14c81753c (diff)
Update pthread_self() on Win32 to return DWORD.
-rw-r--r--src/interfaces/libpq/pthread-win32.c2
-rw-r--r--src/interfaces/libpq/pthread-win32.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/pthread-win32.c b/src/interfaces/libpq/pthread-win32.c
index 6280e71f31..d93451a089 100644
--- a/src/interfaces/libpq/pthread-win32.c
+++ b/src/interfaces/libpq/pthread-win32.c
@@ -14,7 +14,7 @@
#include <windows.h>
#include "pthread-win32.h"
-HANDLE
+DWORD
pthread_self()
{
return GetCurrentThreadId();
diff --git a/src/interfaces/libpq/pthread-win32.h b/src/interfaces/libpq/pthread-win32.h
index 5172cc3caf..4109c89871 100644
--- a/src/interfaces/libpq/pthread-win32.h
+++ b/src/interfaces/libpq/pthread-win32.h
@@ -5,7 +5,7 @@ typedef ULONG pthread_key_t;
typedef HANDLE pthread_mutex_t;
typedef int pthread_once_t;
-HANDLE pthread_self();
+DWORD pthread_self();
void pthread_setspecific(pthread_key_t, void*);
void* pthread_getspecific(pthread_key_t);