1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-22 19:29:54 +00:00

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 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)
# 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 */