diff options
author | das <das> | 2007-11-08 14:26:15 (GMT) |
---|---|---|
committer | das <das> | 2007-11-08 14:26:15 (GMT) |
commit | ad2bc9bc277cdb6120447f7d81e512eaa39f85b9 (patch) | |
tree | 275d4c23cbaa007282124d519acb3198743ef6c6 | |
parent | 79be45fe605260d8587e9c3124a73e9b690f8f37 (diff) | |
download | tk-ad2bc9bc277cdb6120447f7d81e512eaa39f85b9.zip tk-ad2bc9bc277cdb6120447f7d81e512eaa39f85b9.tar.gz tk-ad2bc9bc277cdb6120447f7d81e512eaa39f85b9.tar.bz2 |
* macosx/tkMacOSXDebug.c: make TkMacOSXInitNamedDebugSymbol()
* macosx/tkMacOSXDebug.h: available outside of debug builds as
the new Leopard ISAEH needs it.
-rw-r--r-- | macosx/tkMacOSXDebug.c | 5 | ||||
-rw-r--r-- | 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 |