瀏覽代碼

Make STARPU_ABORT call assert(0) rather than abort().

This will provide better information (file, line...).
Cyril Roelandt 13 年之前
父節點
當前提交
c07745e5dd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/starpu_util.h

+ 1 - 1
include/starpu_util.h

@@ -48,7 +48,7 @@ extern "C"
 #  endif
 #endif
 
-#define STARPU_ABORT()		abort()
+#define STARPU_ABORT()		assert(0)
 
 #if defined(STARPU_HAVE_STRERROR_R)
 #  define STARPU_CHECK_RETURN_VALUE(err, message) {if (err < 0) { \