summaryrefslogtreecommitdiff
path: root/ext/zend_test/php_test.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-04-28 18:33:19 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-04-29 10:40:59 +0200
commit67f9b0b754654e76ef8d5b5539fb520541092950 (patch)
tree304f2322af2e67512047d3832024391db3f79eaa /ext/zend_test/php_test.h
parentb1b98e08d0ad4bbbb213c002188ffa47075a8b0d (diff)
downloadphp-git-67f9b0b754654e76ef8d5b5539fb520541092950.tar.gz
Fix #79532: sizeof off_t can be wrong
We have to actually determine the proper `SIZEOF_OFF_T`. Interestingly, it is `4` on Windows x64. We also have to prevent the redefinition in pg_config.h. The clean solution would likely be to not include pg_config.h at all, but that's out of scope for BC reasons for now.
Diffstat (limited to 'ext/zend_test/php_test.h')
-rw-r--r--ext/zend_test/php_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/zend_test/php_test.h b/ext/zend_test/php_test.h
index 325484c434..da57f7efc9 100644
--- a/ext/zend_test/php_test.h
+++ b/ext/zend_test/php_test.h
@@ -38,5 +38,6 @@ struct bug79096 {
};
ZEND_API struct bug79096 bug79096(void);
+ZEND_API void bug79532(off_t *array, size_t elems);
#endif