Skip to content

Commit 51a75e5

Browse files
committed
Add a ZEND_API for linking
1 parent 11545de commit 51a75e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_operators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ ZEND_API void ZEND_FASTCALL convert_to_object(zval *op) /* {{{ */
809809
}
810810
/* }}} */
811811

812-
void zend_incompatible_double_to_long_error(double d)
812+
ZEND_API void zend_incompatible_double_to_long_error(double d)
813813
{
814814
zend_error_unchecked(E_DEPRECATED, "Implicit conversion from non-compatible float %.*H to int", -1, d);
815815
}

Zend/zend_operators.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ static zend_always_inline bool zend_is_long_compatible(double d, zend_long l) {
138138
return ((double)l == d);
139139
}
140140

141-
void zend_incompatible_double_to_long_error(double d);
141+
ZEND_API void zend_incompatible_double_to_long_error(double d);
142142

143143
static zend_always_inline zend_long zend_dval_to_lval_safe(double d)
144144
{

0 commit comments

Comments
 (0)