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

This commit is contained in:
Michael Jerris 2015-08-25 17:36:23 -04:00
parent b59ff25c71
commit bdeadadc88
1 changed files with 1 additions and 1 deletions

View File

@ -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", __FUNCTION__); } while(0)
# define _do_nothing do { printf("Unaccessable function: %s\n", (const char *)__func_); } while(0)
#endif /* _MSC_VER */
/** Core lib */