summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorJouni Ahto <jah@php.net>2000-07-29 04:24:11 +0000
committerJouni Ahto <jah@php.net>2000-07-29 04:24:11 +0000
commitd88fe953ae572e78356421bdd705126eef8a865a (patch)
treeb1fc842e3c0bea7ef931be220d76672453495cc4 /ext/pgsql/php_pgsql.h
parent90c1689cf09ea2234e89fc40a760b938044dafc7 (diff)
downloadphp-git-d88fe953ae572e78356421bdd705126eef8a865a.tar.gz
This should fix #5826.
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index 0cd96cac19..9101128dc8 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -85,8 +85,10 @@ PHP_FUNCTION(pg_lowrite);
PHP_FUNCTION(pg_loreadall);
PHP_FUNCTION(pg_loimport);
PHP_FUNCTION(pg_loexport);
+#if HAVE_PQCLIENTENCODING
PHP_FUNCTION(pg_clientencoding);
PHP_FUNCTION(pg_setclientencoding);
+#endif
void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent);
int php_pgsql_get_default_link(INTERNAL_FUNCTION_PARAMETERS);