X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Fset_stmt.c;h=80b75c5bc894a88a7e617ca9ce62ea39f0ffe948;hb=cd0567b4052ee24259bc6b8a9858af9d26f3de48;hp=19175717f423134291d6510af92f66c387853189;hpb=216e7ac3b97aed5a5d65c511dc061c78be90e79d;p=m6w6%2Fext-psi diff --git a/src/types/set_stmt.c b/src/types/set_stmt.c index 1917571..80b75c5 100644 --- a/src/types/set_stmt.c +++ b/src/types/set_stmt.c @@ -23,7 +23,11 @@ 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 "call.h" @@ -51,11 +55,11 @@ void psi_set_stmt_free(struct psi_set_stmt **set_ptr) } } -void psi_set_stmt_dump(int fd, struct psi_set_stmt *set) +void psi_set_stmt_dump(struct psi_dump *dump, struct psi_set_stmt *set) { - dprintf(fd, "\tset "); - psi_set_exp_dump(fd, set->exp, 1, 1); - dprintf(fd, ";\n"); + PSI_DUMP(dump, "\tset "); + psi_set_exp_dump(dump, set->exp, 1, 1); + PSI_DUMP(dump, ";\n"); }