cvs: php-src /ext/pgsql pgsql.c

From: Date: Wed, 05 Sep 2007 12:58:48 +0000
Subject: cvs: php-src /ext/pgsql pgsql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-46065@lists.php.net to get a copy of this message
iliaa Wed Sep 5 12:58:48 2007 UTC Modified files: /php-src/ext/pgsql pgsql.c Log: MFB: Fixed bug #41845 (pgsql extension does not compile with PostgreSQL <7.4) http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/pgsql.c?r1=1.370&r2=1.371&diff_format=u Index: php-src/ext/pgsql/pgsql.c diff -u php-src/ext/pgsql/pgsql.c:1.370 php-src/ext/pgsql/pgsql.c:1.371 --- php-src/ext/pgsql/pgsql.c:1.370 Wed Sep 5 12:56:16 2007 +++ php-src/ext/pgsql/pgsql.c Wed Sep 5 12:58:48 2007 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.370 2007/09/05 12:56:16 iliaa Exp $ */ +/* $Id: pgsql.c,v 1.371 2007/09/05 12:58:48 iliaa Exp $ */ #include <stdlib.h> @@ -82,6 +82,10 @@ #define CHECK_DEFAULT_LINK(x) if ((x) == -1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PostgreSQL link opened yet"); } +#ifndef HAVE_PQFREEMEM +#define PGfreemem free +#endif + ZEND_DECLARE_MODULE_GLOBALS(pgsql) static PHP_GINIT_FUNCTION(pgsql);

« previous php.cvs (#46065) next »