From c65a20df4a1cb391feab90dbd05586ffd246edfc Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 25 Apr 2002 01:42:23 +0000 Subject: pg_client_encoding/pg_set_client_encoding should be compiled always. Recent libpq has PQclientEncoding/PQsetClientEncoding regarless of multibyte support enabled or not. Reported by c@cornelia-boenigk.de # This should be merged, but need a little more testing. --- ext/pgsql/php_pgsql.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext/pgsql/php_pgsql.h') diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index a1d547e6e8..d58fe09ad2 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -114,10 +114,8 @@ PHP_FUNCTION(pg_trace); PHP_FUNCTION(pg_untrace); /* utility functions */ -#if HAVE_PQCLIENTENCODING PHP_FUNCTION(pg_client_encoding); PHP_FUNCTION(pg_set_client_encoding); -#endif #if HAVE_PQESCAPE PHP_FUNCTION(pg_escape_string); PHP_FUNCTION(pg_escape_bytea); -- cgit v1.2.1