Skip to content

Commit 0ecc5df

Browse files
committed
PHPC-1166: Don't assume true is defined in phongo_compat.h
This fixes a build failure introduced by 197f3f7 in #835.
1 parent d681e70 commit 0ecc5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phongo_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
} while (0)
139139
#define phongo_free_object_arg void
140140
#define phongo_zpp_char_len int
141-
#define ZEND_HASH_APPLY_PROTECTION(ht) true
141+
#define ZEND_HASH_APPLY_PROTECTION(ht) 1
142142
#define ZEND_HASH_GET_APPLY_COUNT(ht) ((ht)->nApplyCount)
143143
#define ZEND_HASH_DEC_APPLY_COUNT(ht) ((ht)->nApplyCount -= 1)
144144
#define ZEND_HASH_INC_APPLY_COUNT(ht) ((ht)->nApplyCount += 1)

0 commit comments

Comments
 (0)