diff options
author | das <das> | 2006-07-20 06:27:34 (GMT) |
---|---|---|
committer | das <das> | 2006-07-20 06:27:34 (GMT) |
commit | afe519d6070632a0fd1591fb2cd89a8127fb01ff (patch) | |
tree | 9bccc02d5eafea499475873df3d395542f54fa85 /macosx/tkMacOSXEvent.h | |
parent | 986981302c5b1717ac16797145c630ae05a88ad3 (diff) | |
download | tk-afe519d6070632a0fd1591fb2cd89a8127fb01ff.zip tk-afe519d6070632a0fd1591fb2cd89a8127fb01ff.tar.gz tk-afe519d6070632a0fd1591fb2cd89a8127fb01ff.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 |