From 1f42a2b88f924e07413fc7209e267cc740cfa2ba Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 5 Nov 2002 19:02:37 +0000 Subject: - Arghh... Change #ifdef to #ifndef --- ext/tokenizer/tokenizer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/tokenizer') diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c index 8cdaf182d9..c15e3a26a2 100644 --- a/ext/tokenizer/tokenizer.c +++ b/ext/tokenizer/tokenizer.c @@ -235,7 +235,7 @@ PHP_MINIT_FUNCTION(tokenizer) REGISTER_LONG_CONSTANT("T_DEFAULT", T_DEFAULT, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("T_BREAK", T_BREAK, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("T_CONTINUE", T_CONTINUE, CONST_CS | CONST_PERSISTENT); -#ifdef ZEND_ENGINE_2 +#ifndef ZEND_ENGINE_2 REGISTER_LONG_CONSTANT("T_OLD_FUNCTION", T_OLD_FUNCTION, CONST_CS | CONST_PERSISTENT); #endif REGISTER_LONG_CONSTANT("T_FUNCTION", T_FUNCTION, CONST_CS | CONST_PERSISTENT); @@ -433,7 +433,7 @@ get_token_type_name(int token_type) case T_DEFAULT: return "T_DEFAULT"; case T_BREAK: return "T_BREAK"; case T_CONTINUE: return "T_CONTINUE"; -#ifdef ZEND_ENGINE_2 +#ifndef ZEND_ENGINE_2 case T_OLD_FUNCTION: return "T_OLD_FUNCTION"; #endif case T_FUNCTION: return "T_FUNCTION"; -- cgit v1.2.1