summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das@noemail.net>2008-06-19 00:15:11 (GMT)
committerdas <das@noemail.net>2008-06-19 00:15:11 (GMT)
commit1f3903f61a85e7546fa746380e5b6502d670e890 (patch)
tree929291f9fc8aae357b6d64e10f486ee0e5a256e8
parenta0d0df69234272e8755f9204d36966feb862af4b (diff)
downloadtk-1f3903f61a85e7546fa746380e5b6502d670e890.zip
tk-1f3903f61a85e7546fa746380e5b6502d670e890.tar.gz
tk-1f3903f61a85e7546fa746380e5b6502d670e890.tar.bz2
* macosx/tkMacOSXDebug.c: revert 2007-11-09 commit making
* macosx/tkMacOSXDebug.h: TkMacOSXInitNamedDebugSymbol() available outside of debug builds. FossilOrigin-Name: 6c34d29b6e7ac913e1facabee850f97ca9b89170
-rw-r--r--macosx/tkMacOSXDebug.c5
-rw-r--r--macosx/tkMacOSXDebug.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/macosx/tkMacOSXDebug.c b/macosx/tkMacOSXDebug.c
index ac2bef8..913de2c 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.2.2.14 2007/11/09 06:26:55 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDebug.c,v 1.2.2.15 2008/06/19 00:15:11 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -478,7 +478,6 @@ TkMacOSXDebugFlashRegion(
}
}
}
-#endif /* TK_MAC_DEBUG */
#include <mach-o/dyld.h>
#include <mach-o/nlist.h>
@@ -616,3 +615,5 @@ TkMacOSXGetNamedDebugSymbol(
#endif /* __LP64__ */
return addr;
}
+
+#endif /* TK_MAC_DEBUG */
diff --git a/macosx/tkMacOSXDebug.h b/macosx/tkMacOSXDebug.h
index 1ce594d..6e134a9 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.2.2.11 2007/11/09 06:26:55 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.2.2.12 2008/06/19 00:15:11 das Exp $
*/
#ifndef _TKMACDEBUG
@@ -84,8 +84,6 @@ 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 */
@@ -95,4 +93,6 @@ MODULE_SCOPE void* TkMacOSXGetNamedDebugSymbol(const char* module, const char* s
symbol = TkMacOSXGetNamedDebugSymbol(STRINGIFY(module), STRINGIFY(_##symbol));\
}
+#endif /* TK_MAC_DEBUG */
+
#endif