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"
/* zend_error_cb */
va_start(argv, msg);
psi_verror(type, fn, ln, msg, argv);
+#ifdef __clang__
+ va_end(argv);
+ va_start(argv, msg);
+#endif
+ PSI_DEBUG_PRINTV(context, msg, argv);
va_end(argv);
if (context) {