mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Update pthread_self() on Win32 to return DWORD.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 2004-2005, PostgreSQL Global Development Group
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.9 2005/08/28 18:49:01 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.10 2005/08/28 21:42:28 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <windows.h>
|
||||
#include "pthread-win32.h"
|
||||
|
||||
HANDLE
|
||||
DWORD
|
||||
pthread_self()
|
||||
{
|
||||
return GetCurrentThreadId();
|
||||
|
Reference in New Issue
Block a user