提交 15fb6c65 authored 作者: Michael Jerris's avatar Michael Jerris

FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers

上级 1c76a0db
......@@ -686,7 +686,7 @@ static int _close_std_lib(mb_interpreter_t* s);
# define _do_nothing do { printf("Unaccessable function: %s\n", __FUNCTION__); } while(0)
# endif /* _MSC_VER < 1300 */
#else /* _MSC_VER */
# define _do_nothing do { printf("Unaccessable function: %s\n", (const char *)__func_); } while(0)
# define _do_nothing do { printf("Unaccessable function: %s\n", (const char *)__func__); } while(0)
#endif /* _MSC_VER */
/** Core lib */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论