File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -219,18 +219,22 @@ char *alloca();
219
219
220
220
#if defined(__GNUC__ ) && ZEND_GCC_VERSION >= 4003
221
221
# define ZEND_ATTRIBUTE_UNUSED __attribute__((unused))
222
- # define ZEND_ATTRIBUTE_UNUSED_LABEL __attribute__((cold, unused));
223
- # define ZEND_ATTRIBUTE_COLD_LABEL __attribute__((cold));
224
- # define ZEND_ATTRIBUTE_HOT_LABEL __attribute__((hot));
225
222
# define ZEND_COLD __attribute__((cold))
226
223
# define ZEND_HOT __attribute__((hot))
227
224
#else
228
225
# define ZEND_ATTRIBUTE_UNUSED
226
+ # define ZEND_COLD
227
+ # define ZEND_HOT
228
+ #endif
229
+
230
+ #if defined(__GNUC__ ) && ZEND_GCC_VERSION >= 5000
231
+ # define ZEND_ATTRIBUTE_UNUSED_LABEL __attribute__((cold, unused));
232
+ # define ZEND_ATTRIBUTE_COLD_LABEL __attribute__((cold));
233
+ # define ZEND_ATTRIBUTE_HOT_LABEL __attribute__((hot));
234
+ #else
229
235
# define ZEND_ATTRIBUTE_UNUSED_LABEL
230
236
# define ZEND_ATTRIBUTE_COLD_LABEL
231
237
# define ZEND_ATTRIBUTE_HOT_LABEL
232
- # define ZEND_COLD
233
- # define ZEND_HOT
234
238
#endif
235
239
236
240
#if defined(__GNUC__ ) && ZEND_GCC_VERSION >= 3004 && defined(__i386__ )
You can’t perform that action at this time.
0 commit comments