summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPrivate.h
diff options
context:
space:
mode:
authorkevin_walzer <kevin_walzer@noemail.net>2016-01-31 00:53:25 (GMT)
committerkevin_walzer <kevin_walzer@noemail.net>2016-01-31 00:53:25 (GMT)
commit24095cae72155f20de1c1fdb1fb789d892dbb45d (patch)
tree3d501e7a93d6440379a101cb6a89bf29cce65b4d /macosx/tkMacOSXPrivate.h
parent790aeb1ba7b9163c836d20ec08542fc10c5d12af (diff)
downloadtk-24095cae72155f20de1c1fdb1fb789d892dbb45d.zip
tk-24095cae72155f20de1c1fdb1fb789d892dbb45d.tar.gz
tk-24095cae72155f20de1c1fdb1fb789d892dbb45d.tar.bz2
Fix build errors on i386 for Cocoa; thanks to Marc Culler for patch
FossilOrigin-Name: 8cf39bd2b8e2645a126b29f835c7a591d80df1e4
Diffstat (limited to 'macosx/tkMacOSXPrivate.h')
-rw-r--r--macosx/tkMacOSXPrivate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h
index 2a411f6..65d60ce 100644
--- a/macosx/tkMacOSXPrivate.h
+++ b/macosx/tkMacOSXPrivate.h
@@ -276,6 +276,10 @@ VISIBILITY_HIDDEN
NSArray *_defaultHelpMenuItems;
NSWindow *_windowWithMouse;
NSAutoreleasePool *_mainPool;
+#ifdef __i386__
+ /* The Objective C runtime used on i386 requires this. */
+ BOOL _poolProtected;
+#endif
}
@property BOOL poolProtected;
@end