From 18c78b9f33cd21d2b046935f0db8f20a146ed6aa Mon Sep 17 00:00:00 2001 From: Andy Fiddaman Date: Wed, 28 Apr 2021 11:40:25 +0000 Subject: [PATCH 32/39] 13726 distinguish ourselves with a macro (__illumos__) --- gcc/config/sol2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 3e6e8144bc6..fb07e9e4aa5 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"); \ -- 2.53.0