diff --git a/tiny_bvh.h b/tiny_bvh.h index 89c945c..366fd0a 100644 --- a/tiny_bvh.h +++ b/tiny_bvh.h @@ -326,7 +326,7 @@ typedef bvhvec4 SIMDVEC4; // error handling #define FATAL_ERROR_IF(c,s) if (c) { fprintf( stderr, \ - "Fatal error in tiny_bvh.h, line %i:\n%s\n", __LINE__, s ); exit( 0 ); } + "Fatal error in tiny_bvh.h, line %i:\n%s\n", __LINE__, s ); std::exit( 1 ); } // ============================================================================ //