From: Michael Jerris Date: Wed, 26 Aug 2015 01:47:51 +0000 (-0400) Subject: FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer... X-Git-Tag: v1.4.21~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d3c4870f35788dc01e760d7e0ba0cd2d0f515a8;p=thirdparty%2Ffreeswitch.git FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers --- diff --git a/src/mod/languages/mod_basic/my_basic.c b/src/mod/languages/mod_basic/my_basic.c index d7931e40d2..d8af70679d 100644 --- a/src/mod/languages/mod_basic/my_basic.c +++ b/src/mod/languages/mod_basic/my_basic.c @@ -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 */