mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 20:55:35 +03:00
Toolchain: Make wint_t unsigned for Clang
This commit is contained in:
parent
5d0869d5ca
commit
2788d46ae0
Notes:
sideshowbarker
2024-07-17 17:09:10 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/2788d46ae0 Pull-request: https://github.com/SerenityOS/serenity/pull/12991 Reviewed-by: https://github.com/BertalanD ✅
@ -33,7 +33,7 @@ diff --git a/clang/lib/Basic/Targets/OSTargets.h b/clang/lib/Basic/Targets/OSTar
|
|||||||
index 3fe39ed64..51e7a6cca 100644
|
index 3fe39ed64..51e7a6cca 100644
|
||||||
--- a/clang/lib/Basic/Targets/OSTargets.h
|
--- a/clang/lib/Basic/Targets/OSTargets.h
|
||||||
+++ b/clang/lib/Basic/Targets/OSTargets.h
|
+++ b/clang/lib/Basic/Targets/OSTargets.h
|
||||||
@@ -966,6 +966,22 @@ public:
|
@@ -966,6 +966,24 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -50,7 +50,9 @@ index 3fe39ed64..51e7a6cca 100644
|
|||||||
+
|
+
|
||||||
+public:
|
+public:
|
||||||
+ SerenityTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
|
+ SerenityTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
|
||||||
+ : OSTargetInfo<Target>(Triple, Opts) {}
|
+ : OSTargetInfo<Target>(Triple, Opts) {
|
||||||
|
+ this->WIntType = TargetInfo::UnsignedInt;
|
||||||
|
+ }
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
} // namespace targets
|
} // namespace targets
|
||||||
|
Loading…
Reference in New Issue
Block a user