mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-08 06:29:23 +00:00
ConfigureChecks.cmake: Fix off_t detection for -Werror
This commit is contained in:
parent
77b38b1d43
commit
b60fdc3535
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ if(HAVE_SYS_TYPES_H)
|
|||
#include <sys/types.h>
|
||||
int main(void) {
|
||||
const off_t offset = -123;
|
||||
(void)offset;
|
||||
return 0;
|
||||
}"
|
||||
HAVE_OFF_T)
|
||||
|
|
Loading…
Add table
Reference in a new issue