make pgsql build under win32 again

This commit is contained in:
Daniel Beulshausen 2001-04-30 14:23:41 +00:00
parent c8e177c7a3
commit 0a121f855c
3 changed files with 3 additions and 2 deletions

View file

@ -162,6 +162,7 @@ _notice_handler(void *arg, const char *message)
static int _rollback_transactions(zend_rsrc_list_entry *rsrc)
{
PGconn *link = (PGconn *)rsrc->ptr;
PGLS_FETCH();
PGG(ignore_notices) = 1;
PQexec(link,"BEGIN;ROLLBACK;");

View file

@ -251,7 +251,7 @@ PHP_INI_END()
/* True global (no need for thread safety */
static int module_initialized = 0;
void php_log_err(char *log_message)
PHPAPI void php_log_err(char *log_message)
{
FILE *log_file;
char error_time_str[128];

View file

@ -241,7 +241,7 @@ extern char **environ;
void phperror(char *error);
PHPAPI int php_write(void *buf, uint size);
PHPAPI int php_printf(const char *format, ...);
void php_log_err(char *log_message);
PHPAPI void php_log_err(char *log_message);
int Debug(char *format, ...);
int cfgparse(void);