summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das>2007-08-23 10:44:57 (GMT)
committerdas <das>2007-08-23 10:44:57 (GMT)
commitdf803bfb7cd4711f56fc1edfcf5bd9e01a45494b (patch)
tree6b36e4b76fabbbff7ddbc63ea4a21016eb88fc77 /macosx
parentd5d97303aa3f34186c01ed090452c30a0bd0e65f (diff)
downloadtk-df803bfb7cd4711f56fc1edfcf5bd9e01a45494b.zip
tk-df803bfb7cd4711f56fc1edfcf5bd9e01a45494b.tar.gz
tk-df803bfb7cd4711f56fc1edfcf5bd9e01a45494b.tar.bz2
move macros for Debugging.h to private header
Diffstat (limited to 'macosx')
-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.
*/