We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd3cd6a commit f51fbf9Copy full SHA for f51fbf9
Zend/zend_portability.h
@@ -215,7 +215,7 @@ char *alloca();
215
#if ZEND_GCC_VERSION >= 2096 || __has_attribute(__malloc__)
216
# define ZEND_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
217
#elif defined(ZEND_WIN32)
218
-# define ZEND_ATTRIBUTE_MALLOC __declspec(restrict)
+# define ZEND_ATTRIBUTE_MALLOC __declspec(allocator) __declspec(restrict)
219
#else
220
# define ZEND_ATTRIBUTE_MALLOC
221
#endif
0 commit comments