]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer...
authorMichael Jerris <mike@jerris.com>
Wed, 26 Aug 2015 01:47:51 +0000 (21:47 -0400)
committerMichael Jerris <mike@jerris.com>
Wed, 26 Aug 2015 01:48:02 +0000 (21:48 -0400)
src/mod/languages/mod_basic/my_basic.c

index 416b2e57f7df793be40675ad0e69ec5755aea0ea..f62a59ee94b4ff564c83f3ef3bc23d643a90bfdf 100644 (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", (const char *)__func_); } while(0)
+#      define _do_nothing do { printf("Unaccessable function: %s\n", (const char *)__func__); } while(0)
 #endif /* _MSC_VER */
 
 /** Core lib */