From b89689f2efcbae95725ff3d1922999e2c0b53422 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sat, 20 Nov 1999 01:14:36 +0000 Subject: [PATCH] - More PGSQL thread-safe updates. It still doesn't work though. Crashes for some reason at .dll load time --- ext/pgsql/pgsql.c | 2 +- ext/pgsql/pqsql.dsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 56251b177f..cff75b9a0e 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -79,7 +79,7 @@ php3_module_entry pgsql_module_entry = { }; #if COMPILE_DL -php3_module_entry *get_module() { return &pgsql_module_entry; } +PHP_PGSQL_API php3_module_entry *get_module() { return &pgsql_module_entry; } #endif static int le_link,le_plink,le_result,le_lofp,le_string; diff --git a/ext/pgsql/pqsql.dsp b/ext/pgsql/pqsql.dsp index 45f0d36a6b..eac5a71325 100644 --- a/ext/pgsql/pqsql.dsp +++ b/ext/pgsql/pqsql.dsp @@ -43,7 +43,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PQSQL_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\.." /I "..\..\libzend" /I "..\..\..\PostgreSQL\include" /I "..\..\..\bindlib_w32" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PQSQL_EXPORTS" /D HAVE_PGSQL=1 /D "COMPILE_DL" /D "ZTS" /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\.." /I "..\..\libzend" /I "..\..\..\PostgreSQL\include" /I "..\..\..\bindlib_w32" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PQSQL_EXPORTS" /D HAVE_PGSQL=1 /D "COMPILE_DL" /D "ZTS" /FD /c # SUBTRACT CPP /YX # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -- 2.50.1