diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2025-04-24 13:50:13 +0900 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-25 17:09:58 +0200 |
commit | 797150d69d2edba8b1bd4a7d8c7ba2df1219c503 (patch) | |
tree | ad73f5ff3f715c4a03737be1f00521fd3db0fd92 /hw/misc/imx6_src.c | |
parent | 6804b89fb531f5dd49c1e038214c89272383e220 (diff) | |
download | qemu-797150d69d2edba8b1bd4a7d8c7ba2df1219c503.zip qemu-797150d69d2edba8b1bd4a7d8c7ba2df1219c503.tar.gz qemu-797150d69d2edba8b1bd4a7d8c7ba2df1219c503.tar.bz2 |
meson: Share common C source prefixes
gnu_source_prefix defines _GNU_SOURCE for compiler object functions.
The definition is universally available in the code base.
docs/devel/style.rst also says that the "qemu/osdep.h" header is
always included, so files included in the file is also universally
available in the code base.
Rename gnu_source_prefix to osdep_prefix, and add #include directives
that are referred by the users of gnu_source_prefix and contained in
qemu/osdep.h to safely de-duplicate #include directives.
Cc: qemu-stable@nongnu.org
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250424-buildsys-v1-3-97655e3b25d7@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/misc/imx6_src.c')
0 files changed, 0 insertions, 0 deletions