Skip to content

Commit 75a4d43

Browse files
fixup! deps: fix V8 compilation on GCC 12
Co-authored-by: Richard Lau <[email protected]>
1 parent 373864b commit 75a4d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/v8/src/base/macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ namespace base {
173173
// base::is_trivially_copyable will differ for these cases.
174174
template <typename T>
175175
struct is_trivially_copyable {
176-
#if V8_CC_MSVC || (__GNUC__ == 12 && __GNUC_MINOR__ < 2)
176+
#if V8_CC_MSVC || (__GNUC__ == 12 && __GNUC_MINOR__ <= 2)
177177
// Unfortunately, MSVC 2015 is broken in that std::is_trivially_copyable can
178178
// be false even though it should be true according to the standard.
179179
// (status at 2018-02-26, observed on the msvc waterfall bot).

0 commit comments

Comments
 (0)