Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix build error with non-const MINSIGSTKSZ.
[simgrid.git] / src / include / catch.hpp
index 6c1756a..170f46c 100644 (file)
@@ -10732,7 +10732,8 @@ namespace Catch {
 
     // 32kb for the alternate stack seems to be sufficient. However, this value
     // is experimentally determined, so that's not guaranteed.
-    static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
+    // Update: MINSIGSTKSZ is not const anymore with recent glibc
+    static constexpr std::size_t sigStackSize = 32768;
 
     static SignalDefs signalDefs[] = {
         { SIGINT,  "SIGINT - Terminal interrupt signal" },