Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ea185de

Browse files
authored
Merge pull request #143 from ttraeger/master
ulong typedef has been removed in PHP 7.4
2 parents 3b559fd + c9a825b commit ea185de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎ext/php_driver.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ typedef zend_object php5to7_zend_object_free;
117117
typedef zval **php5to7_zval_gc;
118118
typedef zval *php5to7_dtor;
119119
typedef size_t php5to7_size;
120+
#if ((PHP_MAJOR_VERSION == 7 && PHP_MINOR_VERSION >= 4) || PHP_MAJOR_VERSION > 7)
121+
typedef unsigned long ulong;
122+
#endif
120123

121124
static inline int
122125
php5to7_string_compare(php5to7_string s1, php5to7_string s2)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /