Browse code

core: fixed printing function name in log message

- based on http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html

Daniel-Constantin Mierla authored on 16/05/2013 22:46:42
Showing 1 changed files
... ...
@@ -46,7 +46,7 @@
46 46
 
47 47
 /* C >= 99 has __func__, older gcc versions have __FUNCTION__ */
48 48
 #if __STDC_VERSION__ < 199901L
49
-#	if __GNUC__ >= 2 && defined __FUNCTION__
49
+#	if __GNUC__ >= 2
50 50
 #		define _FUNC_NAME_ __FUNCTION__
51 51
 #	else
52 52
 #		define _FUNC_NAME_ ""