diff options
| author | Kalle Sommer Nielsen <kalle@php.net> | 2016-07-30 17:52:57 +0200 |
|---|---|---|
| committer | Kalle Sommer Nielsen <kalle@php.net> | 2016-07-30 17:52:57 +0200 |
| commit | 040331c36462eac94308bbef3200ee11389ca444 (patch) | |
| tree | f347adbcf612baab52000b7c6d7e20be5678e298 /ext/standard/php_math.h | |
| parent | c192bdecd5e0effd57224743d16caa66e863dd95 (diff) | |
| download | php-git-040331c36462eac94308bbef3200ee11389ca444.tar.gz | |
Fix ext/standard build with the recent fixes to array.c
This solution might not be canon, but it works by re-using _php_math_round() from math.c, since round() is not available
in the C++98 Standard Library on Windows at least. At the same
time it seems like the symbol export for it was missing from
php_math.h.
Diffstat (limited to 'ext/standard/php_math.h')
| -rw-r--r-- | ext/standard/php_math.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_math.h b/ext/standard/php_math.h index 406fd49dcd..62c089bf48 100644 --- a/ext/standard/php_math.h +++ b/ext/standard/php_math.h @@ -22,6 +22,7 @@ #ifndef PHP_MATH_H #define PHP_MATH_H +PHPAPI double _php_math_round(double, int, int); PHPAPI zend_string *_php_math_number_format(double, int, char, char); PHPAPI zend_string *_php_math_number_format_ex(double, int, char *, size_t, char *, size_t); PHPAPI zend_string * _php_math_longtobase(zval *arg, int base); |
