src/include/h5core/h5_log.h: missing backslashes in definition of macro 'H5_API_ENTER()' if NDEBUG is set fixed

This commit is contained in:
Achim Gsell
2018-11-02 23:56:27 +01:00
parent 4daf9b786c
commit 72365540a3
+4 -4
View File
@@ -210,11 +210,11 @@ h5_get_loglevel (
// function enter macro
#if defined(NDEBUG)
#define H5_API_ENTER(type, fmt, ...) \
type ret_value = (type)H5_ERR;
h5_initialize();
#define H5_API_ENTER(type, fmt, ...) \
type ret_value = (type)H5_ERR; \
h5_initialize(); \
h5_call_stack_reset (); \
h5_call_stack_push (__func__,e_##type); \
h5_call_stack_push (__func__,e_##type);
#else // NDEBUG not defined