]> granicus.if.org Git - php/commitdiff
add some logic to detect zend_mm, which is really only useful when thread
authorSterling Hughes <sterling@php.net>
Wed, 21 May 2003 17:54:57 +0000 (17:54 +0000)
committerSterling Hughes <sterling@php.net>
Wed, 21 May 2003 17:54:57 +0000 (17:54 +0000)
safety support is enabled.

Zend/zend_mm.h

index 98050c3b6594d66cc236695838701126916e4da5..279283bcc9c9e7caa9107fdf839628576c97377b 100644 (file)
 
 #include "zend_types.h"
 
-/* Define this to enable Zend MM */
+#ifdef ZTS
+#define ZEND_MM
+#else
+#undef ZEND_MM
+#endif
+
+/* Zend MM is currently broken, so never use it. */
 #undef ZEND_MM
 
 /* mm block type */