From: Ilia Alshanetsky Date: Tue, 18 May 2004 22:31:13 +0000 (+0000) Subject: Allow static builds. X-Git-Tag: RELEASE_0_1~127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb1239a338f589545df748675ac07ede6a413b0d;p=php Allow static builds. --- diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index ac98658dff..69ecfc03c2 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -35,6 +35,7 @@ #include "php_pdo_sql_parser.h" #include "zend_exceptions.h" +#if COMPILE_DL_PDO /* {{{ content from zend_arg_defs.c: * since it is a .c file, it won't be installed for use by PECL extensions, so we include it here. */ ZEND_BEGIN_ARG_INFO(first_arg_force_ref, 0) @@ -64,6 +65,7 @@ ZEND_END_ARG_INFO(); ZEND_BEGIN_ARG_INFO(all_args_by_ref, 1) ZEND_END_ARG_INFO(); /* }}} */ +#endif static PHP_FUNCTION(dbstmt_constructor) /* {{{ */ {