summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das>2007-11-08 14:26:15 (GMT)
committerdas <das>2007-11-08 14:26:15 (GMT)
commitad2bc9bc277cdb6120447f7d81e512eaa39f85b9 (patch)
tree275d4c23cbaa007282124d519acb3198743ef6c6 /macosx
parent79be45fe605260d8587e9c3124a73e9b690f8f37 (diff)
downloadtk-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.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDebug.c5
-rw-r--r--macosx/tkMacOSXDebug.h6
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