]> granicus.if.org Git - php/commitdiff
Enable attribute((malloc)) for GCC 2.96
authorSascha Schumann <sas@php.net>
Thu, 28 Aug 2003 11:55:39 +0000 (11:55 +0000)
committerSascha Schumann <sas@php.net>
Thu, 28 Aug 2003 11:55:39 +0000 (11:55 +0000)
Zend/zend_alloc.h

index 257c8b408f4861833bfd1c838f2d290869697bc4..15920bb495098cf2eccc82b601ad8e7452922e71 100644 (file)
@@ -70,7 +70,7 @@ typedef union _align_test {
 # define PLATFORM_ALIGNMENT (sizeof(align_test))
 #endif
 
-#if __GNUC__ -0 >= 3
+#if GCC_VERSION - 0 >= 2096
 # define ZEND_ATTRIBUTE_MALLOC __attribute__ ((malloc))
 #else
 # define ZEND_ATTRIBUTE_MALLOC