Index: /trunk/processor/processor.m4
===================================================================
--- /trunk/processor/processor.m4	(revision 507)
+++ /trunk/processor/processor.m4	(revision 508)
@@ -509,6 +509,8 @@
 		/* deep */
 		STRUCT_P(HashTable, static_variables, HashTable_zval_ptr)
+#ifdef ZEND_ENGINE_2
 		STRUCT_ARRAY_I(num_args, zend_arg_info, arg_info)
 		xc_gc_add_op_array(dst TSRMLS_CC);
+#endif
 		define(`SKIPASSERT_ONCE')
 	}
Index: /trunk/utils.c
===================================================================
--- /trunk/utils.c	(revision 506)
+++ /trunk/utils.c	(revision 508)
@@ -787,4 +787,5 @@
 	memcpy(&EG(included_files), &OG(included_files), sizeof(EG(included_files)));
 
+#ifdef E_STRICT
 	if (sandbox->compilererrors) {
 		int i;
@@ -794,4 +795,5 @@
 		efree(sandbox->compilererrors);
 	}
+#endif
 	if (sandbox->alloc) {
 		efree(sandbox);
Index: /trunk/const_string.c
===================================================================
--- /trunk/const_string.c	(revision 491)
+++ /trunk/const_string.c	(revision 508)
@@ -70,4 +70,6 @@
 #elif defined(ZEND_ENGINE_2)
 #	include "const_string_opcodes_php5.0.h"
+#else
+#	include "const_string_opcodes_php4.x.h"
 #endif
 
Index: /trunk/xcache_globals.h
===================================================================
--- /trunk/xcache_globals.h	(revision 498)
+++ /trunk/xcache_globals.h	(revision 508)
@@ -18,5 +18,7 @@
 	long   var_ttl;
 
+#ifdef ZEND_ENGINE_2
 	HashTable gc_op_arrays;
+#endif
 
 	HashTable internal_function_table;
Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 506)
+++ /trunk/xcache.c	(revision 508)
@@ -1482,4 +1482,5 @@
 /* }}} */
 
+#ifdef ZEND_ENGINE_2
 /* {{{ xc_gc_op_array_t */
 typedef struct {
@@ -1493,5 +1494,7 @@
 	gc_op_array.num_args = op_array->num_args;
 	gc_op_array.arg_info = op_array->arg_info;
+#ifdef ZEND_ENGINE_2
 	zend_hash_next_index_insert(&XG(gc_op_arrays), (void *) &gc_op_array, sizeof(gc_op_array), NULL);
+#endif
 }
 /* }}} */
@@ -1511,4 +1514,5 @@
 }
 /* }}} */
+#endif
 
 /* module helper function */
@@ -1744,5 +1748,7 @@
 	}
 
+#ifdef ZEND_ENGINE_2
 	zend_hash_init(&XG(gc_op_arrays), 32, NULL, xc_gc_op_array, 0);
+#endif
 
 #if PHP_API_VERSION <= 20041225
@@ -1760,5 +1766,7 @@
 {
 	xc_entry_unholds(TSRMLS_C);
+#ifdef ZEND_ENGINE_2
 	zend_hash_destroy(&XG(gc_op_arrays));
+#endif
 	xc_gc_expires_php(TSRMLS_C);
 	xc_gc_expires_var(TSRMLS_C);
