build administrativa
[m6w6/ext-psi] / src / types / impl_var.c
index d3ab4f814b2cc1b432a9c5ca7e4155c7df42cadb..edf31bf78871987361c497b6f3160779777e785d 100644 (file)
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *******************************************************************************/
 
-#include "php_psi_stdinc.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#else
+# include "php_config.h"
+#endif
 #include "data.h"
 
 #include <Zend/zend_smart_str.h>
@@ -67,9 +71,9 @@ void psi_impl_var_free(struct psi_impl_var **var_ptr)
        }
 }
 
-void psi_impl_var_dump(int fd, struct psi_impl_var *var, bool vararg)
+void psi_impl_var_dump(struct psi_dump *dump, struct psi_impl_var *var, bool vararg)
 {
-       dprintf(fd, "%s%s%s",
+       PSI_DUMP(dump, "%s%s%s",
                var->reference ? "&" : "",
                vararg ? "..." : "",
                var->name->val);