Commit 5fb440a 1 parent 7f697da commit 5fb440a Copy full SHA for 5fb440a
File tree 1 file changed +2
-4
lines changed
projects/core/include/tempest
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
#include < tempest/int.hpp>
5
5
6
- // If (GNUC or CLANG) and not (_GLIBCXX_SRCLOC or _LIBCPP_SOURCE_LOCATION) OR SELF_HOSTED
7
- #if (defined(__GNUC__) || defined(__clang__)) && !defined(_GLIBCXX_SRCLOC) && !defined(_LIBCPP_SOURCE_LOCATION) || \
8
- defined (__STDC_HOSTED__)
9
-
6
+ // If (GNUC or CLANG) and not (_GLIBCXX_SRCLOC or _LIBCPP_SOURCE_LOCATION)
7
+ #if (defined(__GNUC__) || defined(__clang__)) && !defined(_GLIBCXX_SRCLOC) && !defined(_LIBCPP_SOURCE_LOCATION)
10
8
// Known UB. If libstdc++ or libc++ changes the layout of std::source_location::__impl, this will break
11
9
// TODO: Investigate a robust way to test for this. Maybe C++26 static reflection will provide a solution.
12
10
namespace std
You can’t perform that action at this time.
0 commit comments