Commit f7d74694 authored by Christophe Geuzaine's avatar Christophe Geuzaine

tentative fix for msvc < 2015

parent 8deb1f2e
Pipeline #1511 failed with stage
in 35 minutes 57 seconds
......@@ -8,6 +8,10 @@
#define STR(x) #x
#define STRINGIFY(x) STR(x)
#ifdef _MSC_VER
#define __func__ __FUNCTION__
#endif
#define HXT_INFO(...) hxtMessageInfo(__func__, __FILE__, STRINGIFY(__LINE__), ## __VA_ARGS__ )
#define HXT_INFO_COND(cond, ...) ((cond)?HXT_INFO(__VA_ARGS__):HXT_STATUS_OK)
#define HXT_WARNING(...) hxtMessageWarning(__func__, __FILE__, STRINGIFY(__LINE__), ## __VA_ARGS__ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment