libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / clang-18 / patches / 10-add-__illumos__-preprocessor-definition.patch
blob50682e94fba0d31109085b19ac604f5ec5020638
1 diff -wpruN '--exclude=*.orig' a~/lib/Basic/Targets/OSTargets.h a/lib/Basic/Targets/OSTargets.h
2 --- a~/tools/clang/lib/Basic/Targets/OSTargets.h 1970-01-01 00:00:00
3 +++ a/tools/clang/lib/Basic/Targets/OSTargets.h 1970-01-01 00:00:00
4 @@ -624,6 +624,7 @@ protected:
5 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple,
6 MacroBuilder &Builder) const override {
7 DefineStd(Builder, "sun", Opts);
8 + Builder.defineMacro("__illumos__");
9 DefineStd(Builder, "unix", Opts);
10 Builder.defineMacro("__ELF__");
11 Builder.defineMacro("__svr4__");