summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-04-25 06:47:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-04-25 06:47:08 (GMT)
commit07dc9808f36d774371138f766748daa30c9e899d (patch)
tree4e5a8093c8a552ea6a2f85bd4ad801f1a7818d4d
parent857d165d9662ecd2659b4894b8655d91487bb14a (diff)
downloadtk-07dc9808f36d774371138f766748daa30c9e899d.zip
tk-07dc9808f36d774371138f766748daa30c9e899d.tar.gz
tk-07dc9808f36d774371138f766748daa30c9e899d.tar.bz2
Converted #ifdef out to use a never-defined symbol so that it is clear that two
pieces of code are related. (The guarded code doesn't compile.)
-rw-r--r--macosx/tkMacOSXWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 4df82fe..d11c14b 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -1637,7 +1637,7 @@ WmForgetCmd(
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
{
-#if 1
+#ifndef WM_FORGET_SUPPORTED
Tcl_AppendResult(interp, "wm forget is not yet supported", NULL);
return TCL_ERROR;
#else
@@ -2393,7 +2393,7 @@ WmManageCmd(
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
{
-#if 1
+#ifndef WM_FORGET_SUPPORTED
Tcl_AppendResult(interp, "wm manage is not yet supported", NULL);
return TCL_ERROR;
#else