Browse Source

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

This will provide better information (file, line...).
Cyril Roelandt 13 years ago
parent
commit
c07745e5dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/starpu_util.h

+ 1 - 1
include/starpu_util.h

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