summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-11-20 01:14:36 +0000
committerAndi Gutmans <andi@php.net>1999-11-20 01:14:36 +0000
commitb89689f2efcbae95725ff3d1922999e2c0b53422 (patch)
tree27f77c6ee4fdc32dbf962a360415033eec84d1e6
parent0c65c8a23c2ace4b4f0c28da85572358974664f4 (diff)
downloadphp-git-b89689f2efcbae95725ff3d1922999e2c0b53422.tar.gz
- More PGSQL thread-safe updates. It still doesn't work though. Crashes for
some reason at .dll load time
-rw-r--r--ext/pgsql/pgsql.c2
-rw-r--r--ext/pgsql/pqsql.dsp2
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