mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Move pthread-win32.h to /port, modify bcc/msvc makefiles.
This commit is contained in:
@@ -62,7 +62,7 @@ OUTFILENAME=blibpq
|
||||
USERDEFINES=FRONTEND;NDEBUG;WIN32;_WINDOWS;HAVE_VSNPRINTF;HAVE_STRDUP;
|
||||
|
||||
CPP=bcc32.exe
|
||||
CPP_PROJ = -I$(BCB)\include;..\..\include -n"$(INTDIR)" -WD -c -D$(USERDEFINES) -tWM \
|
||||
CPP_PROJ = -I$(BCB)\include;..\..\include;..\..\include\port\win32;..\..\include\port\win32_msvc;..\..\port -n"$(INTDIR)" -WD -c -D$(USERDEFINES) -tWM \
|
||||
-a8 -X -w-use -w-par -w-pia -w-csu -w-aus -w-ccc
|
||||
|
||||
!IFDEF DEBUG
|
||||
|
@@ -1,19 +0,0 @@
|
||||
#ifndef __PTHREAD_H
|
||||
#define __PTHREAD_H
|
||||
|
||||
typedef ULONG pthread_key_t;
|
||||
typedef HANDLE pthread_mutex_t;
|
||||
typedef int pthread_once_t;
|
||||
|
||||
DWORD pthread_self();
|
||||
|
||||
void pthread_setspecific(pthread_key_t, void *);
|
||||
void *pthread_getspecific(pthread_key_t);
|
||||
|
||||
void pthread_mutex_init(pthread_mutex_t *, void *attr);
|
||||
void pthread_mutex_lock(pthread_mutex_t *);
|
||||
|
||||
/* blocking */
|
||||
void pthread_mutex_unlock(pthread_mutex_t *);
|
||||
|
||||
#endif
|
@@ -119,7 +119,7 @@ pg_config_paths.h: win32.mak
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
CPP_PROJ=/nologo /W3 /GX $(OPT) /I "..\..\include" /I "..\..\include\port\win32" /I "..\..\include\port\win32_msvc" /I. /D "FRONTEND" $(DEBUGDEF) /D\
|
||||
CPP_PROJ=/nologo /W3 /GX $(OPT) /I "..\..\include" /I "..\..\include\port\win32" /I "..\..\include\port\win32_msvc" /I "..\..\port" /I. /D "FRONTEND" $(DEBUGDEF) /D\
|
||||
"WIN32" /D "_WINDOWS" /Fp"$(INTDIR)\libpq.pch" /YX\
|
||||
/Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c /D "HAVE_VSNPRINTF" /D "HAVE_STRDUP"
|
||||
|
||||
|
Reference in New Issue
Block a user