mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
build: Fix ssize_t detection on older versions of glibc
This commit is contained in:
parent
01b77666bc
commit
6837c81d0e
@ -1273,7 +1273,7 @@ sizet_size = cc.sizeof('size_t')
|
||||
if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl'
|
||||
ssizet_size = cc.sizeof('SSIZE_T', prefix : '#include <BaseTsd.h>')
|
||||
else
|
||||
ssizet_size = cc.sizeof('ssize_t')
|
||||
ssizet_size = cc.sizeof('ssize_t', prefix : '#include <unistd.h>')
|
||||
endif
|
||||
|
||||
# Some platforms (Apple) hard-code int64_t to long long instead of
|
||||
|
Loading…
Reference in New Issue
Block a user