From ad2bc9bc277cdb6120447f7d81e512eaa39f85b9 Mon Sep 17 00:00:00 2001 From: das Date: Thu, 8 Nov 2007 14:26:15 +0000 Subject: * macosx/tkMacOSXDebug.c: make TkMacOSXInitNamedDebugSymbol() * macosx/tkMacOSXDebug.h: available outside of debug builds as the new Leopard ISAEH needs it. --- macosx/tkMacOSXDebug.c | 5 ++--- macosx/tkMacOSXDebug.h | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/macosx/tkMacOSXDebug.c b/macosx/tkMacOSXDebug.c index b9ff3fa..8f8e14a 100644 --- a/macosx/tkMacOSXDebug.c +++ b/macosx/tkMacOSXDebug.c @@ -54,7 +54,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXDebug.c,v 1.15 2007/10/12 03:14:48 das Exp $ + * RCS: @(#) $Id: tkMacOSXDebug.c,v 1.16 2007/11/08 14:26:15 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -481,6 +481,7 @@ TkMacOSXDebugFlashRegion( } } } +#endif /* TK_MAC_DEBUG */ /* *---------------------------------------------------------------------- @@ -615,5 +616,3 @@ TkMacOSXGetNamedDebugSymbol( #endif /* __LP64__ */ return addr; } - -#endif /* TK_MAC_DEBUG */ diff --git a/macosx/tkMacOSXDebug.h b/macosx/tkMacOSXDebug.h index be4a6a7..91a0fa6 100644 --- a/macosx/tkMacOSXDebug.h +++ b/macosx/tkMacOSXDebug.h @@ -54,7 +54,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.13 2007/10/12 03:14:48 das Exp $ + * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.14 2007/11/08 14:26:15 das Exp $ */ #ifndef _TKMACDEBUG @@ -84,6 +84,8 @@ MODULE_SCOPE char* TkMacOSXMouseTrackingResultToAscii(MouseTrackingResult r, cha MODULE_SCOPE void TkMacOSXDebugFlashRegion(Drawable d, HIShapeRef rgn); +#endif /* TK_MAC_DEBUG */ + MODULE_SCOPE void* TkMacOSXGetNamedDebugSymbol(const char* module, const char* symbol); /* Macro to abstract common use of TkMacOSXGetNamedDebugSymbol to initialize named symbols */ @@ -93,6 +95,4 @@ MODULE_SCOPE void* TkMacOSXGetNamedDebugSymbol(const char* module, const char* s symbol = TkMacOSXGetNamedDebugSymbol(STRINGIFY(module), STRINGIFY(_##symbol));\ } -#endif /* TK_MAC_DEBUG */ - #endif -- cgit v0.12