1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-04 17:51:03 +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 21:47:51 -04:00
parent bdeadadc88
commit 0d3c4870f3

@ -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", (const char *)__func_); } 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 */