summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2007-08-23 10:44:57 (GMT)
committerdas <das>2007-08-23 10:44:57 (GMT)
commit6ed0057978153235d935363601a7a2608b04c1ac (patch)
tree6b36e4b76fabbbff7ddbc63ea4a21016eb88fc77
parent134312d8f50cfdde3b548488d68c8d6d26091ac7 (diff)
downloadtk-6ed0057978153235d935363601a7a2608b04c1ac.zip
tk-6ed0057978153235d935363601a7a2608b04c1ac.tar.gz
tk-6ed0057978153235d935363601a7a2608b04c1ac.tar.bz2
move macros for Debugging.h to private header
-rw-r--r--macosx/tkMacOSXInt.h4
-rw-r--r--macosx/tkMacOSXPrivate.h11
2 files changed, 11 insertions, 4 deletions
diff --git a/macosx/tkMacOSXInt.h b/macosx/tkMacOSXInt.h
index f121665..9396902 100644
--- a/macosx/tkMacOSXInt.h
+++ b/macosx/tkMacOSXInt.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXInt.h,v 1.28 2007/06/29 03:20:01 das Exp $
+ * RCS: @(#) $Id: tkMacOSXInt.h,v 1.29 2007/08/23 10:44:57 das Exp $
*/
#ifndef _TKMACINT
@@ -20,8 +20,6 @@
#include "tkInt.h"
#endif
-#define kComponentSignatureString "TkMacOSX"
-#define COMPONENT_SIGNATURE 'Tk '
#define TextStyle MacTextStyle
#include <Carbon/Carbon.h>
#undef TextStyle
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h
index 19be7ec..1861c16 100644
--- a/macosx/tkMacOSXPrivate.h
+++ b/macosx/tkMacOSXPrivate.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXPrivate.h,v 1.1 2007/06/29 03:20:02 das Exp $
+ * RCS: @(#) $Id: tkMacOSXPrivate.h,v 1.2 2007/08/23 10:44:57 das Exp $
*/
#ifndef _TKMACPRIV
@@ -172,6 +172,15 @@ MODULE_SCOPE float tkMacOSXToolboxVersionNumber;
#endif /* MAC_OS_X_VERSION_MAX_ALLOWED */
/*
+ * Macros for DEBUG_ASSERT_MESSAGE et al from Debugging.h.
+ */
+
+#undef kComponentSignatureString
+#undef COMPONENT_SIGNATURE
+#define kComponentSignatureString "TkMacOSX"
+#define COMPONENT_SIGNATURE 'Tk '
+
+/*
* Macros abstracting checks only active in a debug build.
*/