Our use of constinit does not seem to work with GCC yet (see https://github.com/protocolbuffers/protobuf/issues/8310), so this commit disables it on GCC for now. This commit also updates mutex.h to work around the fact that MinGW's std::mutex apparently does not have a constexpr constructor. We already have this kind of workaround for MSVC, so we can just use the same workaround.pull/8329/head^2
parent
b12ab0cf53
commit
d721e36ecc
2 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue