[Libreoffice-commits] .: sal/inc

Thomas Klausner tklausner at kemper.freedesktop.org
Wed Oct 13 07:09:19 PDT 2010


 sal/inc/osl/diagnose.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 46a27209536916c19b6fea1c4678d49a87e4ba8e
Author: Thomas Klausner <wiz at NetBSD.org>
Date:   Wed Oct 13 16:08:18 2010 +0200

    There is no #elifdef, use #elif defined.

diff --git a/sal/inc/osl/diagnose.h b/sal/inc/osl/diagnose.h
index 3d9fbc6..cbfabf3 100644
--- a/sal/inc/osl/diagnose.h
+++ b/sal/inc/osl/diagnose.h
@@ -80,9 +80,9 @@ pfunc_osl_printDetailedDebugMessage SAL_CALL osl_setDetailedDebugMessageFunc( pf
 /* 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__
+#elif defined (__PRETTY_FUNCTION__)
 #define OSL_THIS_FUNC __PRETTY_FUNCTION__
-#elifdef __FUNCTION__
+#elif defined (__FUNCTION__)
 #define OSL_THIS_FUNC __FUNCTION__
 #else
 #define OSL_THIS_FUNC " "


More information about the Libreoffice-commits mailing list