From 67f9b0b754654e76ef8d5b5539fb520541092950 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 28 Apr 2020 18:33:19 +0200 Subject: 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. --- ext/zend_test/php_test.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/zend_test/php_test.h') 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 -- cgit v1.2.1