Skip to content

Commit 7af24dc

Browse files
committed
Better version checking
1 parent 617b175 commit 7af24dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/collator/collator_convert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <unicode/ustring.h>
2929
#include <php.h>
3030

31-
#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <= 1)
31+
#if PHP_VERSION_ID <= 51000
3232
#define CAST_OBJECT_SHOULD_FREE ,0
3333
#else
3434
#define CAST_OBJECT_SHOULD_FREE

0 commit comments

Comments
 (0)