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 | b383cc50cc11873b858e25069efabc10158d445c (patch) | |
tree | 8bc1b8b2a1f83ecc27b941257c9c0711f954136c /unix | |
parent | 8fa109ff51a28ce970f71208d84c477f39aabedb (diff) | |
download | tk-b383cc50cc11873b858e25069efabc10158d445c.zip tk-b383cc50cc11873b858e25069efabc10158d445c.tar.gz tk-b383cc50cc11873b858e25069efabc10158d445c.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 |