Explorar o código

Fix build in C++

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
b538fb0e70
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/helper.h

+ 1 - 1
tests/helper.h

@@ -108,7 +108,7 @@ static int _starpu_valgrind_print_once STARPU_ATTRIBUTE_UNUSED = 0;
 
 static inline void disable_coredump(void) {
 #ifdef HAVE_GETRLIMIT
-	struct rlimit rlim = { .rlim_cur = 0, .rlim_max = 0 };
+	struct rlimit rlim = { 0, 0 };
 	setrlimit(RLIMIT_CORE, &rlim);
 #endif
 }