]> granicus.if.org Git - php/commitdiff
fix win32 build
authorShane Caraveo <shane@php.net>
Tue, 28 Oct 2003 04:21:29 +0000 (04:21 +0000)
committerShane Caraveo <shane@php.net>
Tue, 28 Oct 2003 04:21:29 +0000 (04:21 +0000)
ext/dom/document.c

index c8dea15e17088216a2b61d6db51b0bfbd206f107..8246d891f77c2134f17fbcefef5156d6240c43d0 100644 (file)
@@ -120,6 +120,7 @@ static void php_dom_validate_error(void *ctx, const char *msg, ...)
 static void php_dom_ctx_error_level(int level, void *ctx, const char *msg)
 {
        xmlParserCtxtPtr parser;
+       TSRMLS_FETCH();
 
        parser = (xmlParserCtxtPtr) ctx;
        php_error_docref(NULL TSRMLS_CC, level, "%s in %s, line: %d", msg, parser->input->filename, parser->input->line);