desktop-file-utils: update to 0.28
[oi-userland.git] / components / developer / gcc-14 / patches / 0032-Add-__illumos__-preprocessor-definition.patch
blob5b44c844687e9f81556dd90cdc226f12c8c8853f
1 From 1dfa5759170f627ddadf7964e945416a7816460e Mon Sep 17 00:00:00 2001
2 From: Andy Fiddaman <omnios@citrus-it.co.uk>
3 Date: Wed, 28 Apr 2021 11:40:25 +0000
4 Subject: Add __illumos__ preprocessor definition
6 ---
7 gcc/config/sol2.h | 1 +
8 1 file changed, 1 insertion(+)
10 diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
11 index 537da051934c..0e1fbaeaf863 100644
12 --- a/gcc/config/sol2.h
13 +++ b/gcc/config/sol2.h
14 @@ -85,6 +85,7 @@ along with GCC; see the file COPYING3. If not see
15 do { \
16 builtin_define_std ("unix"); \
17 builtin_define_std ("sun"); \
18 + builtin_define ("__illumos__"); \
19 builtin_define ("__svr4__"); \
20 builtin_define ("__SVR4"); \
21 builtin_assert ("system=unix"); \