mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
Merge branch 'fix/ssize-detection-on-old-glibc' into 'master'
build: Fix ssize_t detection on older versions of glibc See merge request GNOME/glib!1855
This commit is contained in:
commit
86c9691a0a
@ -1274,7 +1274,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