]> granicus.if.org Git - php/commitdiff
Allow static builds.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 18 May 2004 22:31:13 +0000 (22:31 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 18 May 2004 22:31:13 +0000 (22:31 +0000)
ext/pdo/pdo_stmt.c

index ac98658dff349cf5855adbd94fac6c22ee9fa873..69ecfc03c25c68b4f4a816212bf9183402067b04 100755 (executable)
@@ -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) /* {{{ */
 {