diff options
author | dgp@users.sourceforge.net <dgp> | 2014-10-21 18:32:54 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2014-10-21 18:32:54 (GMT) |
commit | 92c35eddba5c214af6e1560fdd462d52f39d9d9f (patch) | |
tree | 8bc1b8b2a1f83ecc27b941257c9c0711f954136c /unix | |
parent | 5f9e40f946f8b9840a05853a91f6498d540f1030 (diff) | |
download | tk-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.in | 2 |
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 |