diff options
author | das <das> | 2006-07-20 06:27:34 (GMT) |
---|---|---|
committer | das <das> | 2006-07-20 06:27:34 (GMT) |
commit | 472d82cf26c06e8d849e9ff1ed4af3f0a2154ddc (patch) | |
tree | 9bccc02d5eafea499475873df3d395542f54fa85 /macosx/tkMacOSXEvent.h | |
parent | e673c7b95612047bc886329eda3d26e3e7807c9b (diff) | |
download | tk-472d82cf26c06e8d849e9ff1ed4af3f0a2154ddc.zip tk-472d82cf26c06e8d849e9ff1ed4af3f0a2154ddc.tar.gz tk-472d82cf26c06e8d849e9ff1ed4af3f0a2154ddc.tar.bz2 |
* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add support
for weakly importing symbols not available on OSX 10.2 or 10.3, enables
binaires built on later OSX versions to run on earlier ones.
* macosx/README: document how to enable weak-linking; cleanup.
* unix/configure.in: enforce requirement of OSX 10.2 for TkAqua; move
* unix/tcl.m4: Darwin specific checks & defines that are only
relevant to the tcl build out of tcl.m4; restrict framework option to
Darwin; cleanup quoting.
* unix/configure: autoconf-2.13
* macosx/tkMacOSXKeyEvent.c: ifdef out diagnostic messages to stderr.
* macosx/tkMacOSXEvent.h: standardize MAC_OS_X_VERSION_MAX_ALLOWED
* macosx/tkMacOSXMenu.c: checks per QA1316, ensure define can be
* macosx/tkMacOSXMenubutton.c: overriden on command line (from default
* macosx/tkMacOSXMenus.c: of current OS version).
* macosx/tkMacOSXMouseEvent.c:
* macosx/tkMacOSXWm.c:
Diffstat (limited to 'macosx/tkMacOSXEvent.h')
-rw-r--r-- | macosx/tkMacOSXEvent.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/macosx/tkMacOSXEvent.h b/macosx/tkMacOSXEvent.h index 6787f97..10eba80 100644 --- a/macosx/tkMacOSXEvent.h +++ b/macosx/tkMacOSXEvent.h @@ -50,7 +50,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXEvent.h,v 1.3.2.6 2006/04/28 06:02:59 das Exp $ + * RCS: @(#) $Id: tkMacOSXEvent.h,v 1.3.2.7 2006/07/20 06:27:34 das Exp $ */ #ifndef _TKMACEVENT @@ -100,10 +100,9 @@ MODULE_SCOPE int TkMacOSXKeycodeToUnicode( MODULE_SCOPE OSStatus TkMacOSXStartTclEventLoopCarbonTimer(); MODULE_SCOPE OSStatus TkMacOSXStopTclEventLoopCarbonTimer(); -#if !defined(MAC_OS_X_VERSION_10_3) || \ - (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_3) +#if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 /* Define constants only available on Mac OS X 10.3 or later */ -enum { kEventAppAvailableWindowBoundsChanged = 110 }; +#define kEventAppAvailableWindowBoundsChanged 110 #endif #endif |