blob: 87b475ad337fcb0e8d7cc27b7bc611e907efa863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
From 5e989249376716b0257a4ca8532c261e09aee2cc Mon Sep 17 00:00:00 2001
From: Andy Fiddaman <omnios@citrus-it.co.uk>
Date: Wed, 28 Apr 2021 11:40:25 +0000
Subject: Add __illumos__ preprocessor definition
---
gcc/config/sol2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index d48e89c4fb0..74e429619b2 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -85,6 +85,7 @@ along with GCC; see the file COPYING3. If not see
do { \
builtin_define_std ("unix"); \
builtin_define_std ("sun"); \
+ builtin_define ("__illumos__"); \
builtin_define ("__svr4__"); \
builtin_define ("__SVR4"); \
builtin_assert ("system=unix"); \
|