From 1d8362400e6b42174163234a636276ffc128bcce Mon Sep 17 00:00:00 2001 From: Steven Tamm Date: Sun, 6 Jun 2004 20:53:20 +0000 Subject: [PATCH] (x_create_tip_frame): Fix Mac OS X 10.1 compilation problem due to newly defined variable --- src/macfns.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/macfns.c b/src/macfns.c index 92d729248c9..5c1b7770640 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -3808,8 +3808,10 @@ x_create_tip_frame (dpyinfo, parms, text) BLOCK_INPUT; SetRect (&r, 0, 0, 1, 1); if (CreateNewWindow (kHelpWindowClass, - kWindowNoActivatesAttribute - | kWindowIgnoreClicksAttribute, +#ifdef MAC_OS_X_VERSION_10_2 + kWindowIgnoreClicksAttribute | +#endif + kWindowNoActivatesAttribute, &r, &tip_window) == noErr) { FRAME_MAC_WINDOW (f) = tip_window; -- 2.39.5