Files
flatpak/tests/use-as-subproject
Simon McVittie 238f7bfc49 fdio: Skip glnx_try_fallocate() if _GNU_SOURCE is not defined
fallocate() is only visible in fcntl.h if _GNU_SOURCE is defined.
Most users of libglnx will want to do that anyway, but it seems nicer
to avoid "implicit declaration of function ‘fallocate’" warnings from
simply including <libglnx.h> into naive code.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-04-21 19:56:41 +01:00
..

This is a simple example of a project that uses libglnx as a subproject.
The intention is that if this project can successfully build and use libglnx
as a subproject, then so could Flatpak.

<!--
Copyright 2022 Collabora Ltd.
SPDX-License-Identifier: LGPL-2.0-or-later
-->