FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers
This commit is contained in:
parent
2d32859dec
commit
d609becdd6
|
@ -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)
|
# define _do_nothing do { printf("Unaccessable function: %s\n", __FUNCTION__); } while(0)
|
||||||
# endif /* _MSC_VER < 1300 */
|
# endif /* _MSC_VER < 1300 */
|
||||||
#else /* _MSC_VER */
|
#else /* _MSC_VER */
|
||||||
# define _do_nothing do { printf("Unaccessable function: %s\n", __FUNCTION__); } while(0)
|
# define _do_nothing do { printf("Unaccessable function: %s\n", (const char *)__func_); } while(0)
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
/** Core lib */
|
/** Core lib */
|
||||||
|
|
Loading…
Reference in New Issue