소스 검색

Fix build in C++

Samuel Thibault 8 년 전
부모
커밋
b538fb0e70
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 }