summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-10-28 17:10:35 +0200
committersb <sb@openoffice.org>2010-10-28 17:10:35 +0200
commitc1802b57aaa4ee41b56e880f68644c7d08c163f7 (patch)
tree026e6e7dc07c48d2f8b0ff1bf28e4ea79992a483 /sal/inc
parenta8fcfe71a0c236d31444922984b577c600bfd120 (diff)
sb132: #i114290# current OSL_THIS_FUNC, esp. as used in OSL_LOG_PREFIX, does not work
Diffstat (limited to 'sal/inc')
-rw-r--r--sal/inc/osl/diagnose.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sal/inc/osl/diagnose.h b/sal/inc/osl/diagnose.h
index 055a7971e7b6..033b24c84360 100644
--- a/sal/inc/osl/diagnose.h
+++ b/sal/inc/osl/diagnose.h
@@ -78,15 +78,7 @@ pfunc_osl_printDetailedDebugMessage SAL_CALL osl_setDetailedDebugMessageFunc( pf
#define OSL_THIS_FILE __FILE__
/* the macro OSL_THIS_FUNC is intended to be an office internal macro for now */
-#ifdef __func__
-#define OSL_THIS_FUNC __func__
-#elifdef __PRETTY_FUNCTION__
-#define OSL_THIS_FUNC __PRETTY_FUNCTION__
-#elifdef __FUNCTION__
-#define OSL_THIS_FUNC __FUNCTION__
-#else
-#define OSL_THIS_FUNC " "
-#endif
+#define OSL_THIS_FUNC "<unknown>"
/* the macro OSL_TO_STRING is intended to be an office internal macro for now */
#define OSL_TO_STRING( x ) #x