summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2014-10-21 18:32:54 (GMT)
committerdgp@users.sourceforge.net <dgp>2014-10-21 18:32:54 (GMT)
commit92c35eddba5c214af6e1560fdd462d52f39d9d9f (patch)
tree8bc1b8b2a1f83ecc27b941257c9c0711f954136c /unix
parent5f9e40f946f8b9840a05853a91f6498d540f1030 (diff)
downloadtk-92c35eddba5c214af6e1560fdd462d52f39d9d9f.zip
tk-92c35eddba5c214af6e1560fdd462d52f39d9d9f.tar.gz
tk-92c35eddba5c214af6e1560fdd462d52f39d9d9f.tar.bz2
Restore the use of -DTCL_NO_DEPRECATED when building Tk.
Without this, attempts to build with the latest Xcode tools fail because of a conflict between the long (long long long long) deprecated macro panic() from Tcl's header and a panic() prototype in the system mach.h file, which rides into the build on the tails of Cocoa.h
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 1fde28d..d869528 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -186,7 +186,7 @@ KEYSYM_FLAGS =
# Tk does not used deprecated Tcl constructs so it should
# compile fine with -DTCL_NO_DEPRECATED. To remove its own
# set of deprecated code uncomment the second line.
-NO_DEPRECATED_FLAGS =
+NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED
#NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED -DTK_NO_DEPRECATED
# Some versions of make, like SGI's, use the following variable to