shane Mon Oct 27 23:21:30 2003 EDT
Modified files:
/php-src/ext/dom document.c
Log:
fix win32 build
Index: php-src/ext/dom/document.c
diff -u php-src/ext/dom/document.c:1.36 php-src/ext/dom/document.c:1.37
--- php-src/ext/dom/document.c:1.36 Mon Oct 27 14:52:50 2003
+++ php-src/ext/dom/document.c Mon Oct 27 23:21:29 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: document.c,v 1.36 2003/10/27 19:52:50 chregu Exp $ */
+/* $Id: document.c,v 1.37 2003/10/28 04:21:29 shane Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -120,6 +120,7 @@
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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php