]> granicus.if.org Git - php/commitdiff
Missing ifdef related to the previous patch
authorIlia Alshanetsky <iliaa@php.net>
Thu, 2 Jun 2011 21:38:54 +0000 (21:38 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 2 Jun 2011 21:38:54 +0000 (21:38 +0000)
Zend/zend_alloc.c

index 48d6cb8e32da0c236e4f5b4a7554d3f53befd46b..2d8d26a99fbc420819ea36dc4a2c6b1d52955a97 100644 (file)
@@ -2123,8 +2123,9 @@ static void *_zend_mm_realloc_int(zend_mm_heap *heap, void *p, size_t size ZEND_
        size_t true_size;
        size_t orig_size;
        void *ptr;
+#ifdef ZEND_SIGNALS
        TSRMLS_FETCH();
-
+#endif
        if (UNEXPECTED(!p) || !ZEND_MM_VALID_PTR(p)) {
                return _zend_mm_alloc_int(heap, size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
        }