| From 6c9f07b278ff1ea5fc3dd5504a608dca90bc4712 Mon Sep 17 00:00:00 2001 |
| From: Alex Van Damme <atv@google.com> |
| Date: Wed, 27 Mar 2024 07:08:46 +0000 |
| Subject: [PATCH] Define __KELVIN__ |
| |
| --- |
| gcc/c-family/c-cppbuiltin.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c |
| index db91a36794a..1a61a02ca57 100644 |
| --- a/gcc/c-family/c-cppbuiltin.c |
| +++ b/gcc/c-family/c-cppbuiltin.c |
| @@ -1477,6 +1477,8 @@ c_cpp_builtins (cpp_reader *pfile) |
| format. */ |
| if (ENABLE_DECIMAL_FLOAT && ENABLE_DECIMAL_BID_FORMAT) |
| cpp_define (pfile, "__DECIMAL_BID_FORMAT__"); |
| + |
| + cpp_define (pfile, "__KELVIN__"); |
| } |
| |
| /* Pass an object-like macro. If it doesn't lie in the user's |
| -- |
| 2.44.0.396.g6e790dbe36-goog |
| |