emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Master branch build failure on macOS 10.11


From: Po Lu
Subject: Re: Master branch build failure on macOS 10.11
Date: Thu, 12 May 2022 12:37:19 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

David Caldwell <david@porkrind.org> writes:

> Sure! My 11.6 sdk says:
>
>>    NSButtonTypeMomentaryPushIn   = 7,
>
> and on the 10.11 vm I see:
>
>>    NSMomentaryPushInButton             = 7,    // was NSMomentaryLight
>
> Looks like the old one had Button as a suffix instead of a prefix.

Does this fix the problem?

diff --git a/src/nsterm.h b/src/nsterm.h
index 9d8a6f486f..ce2355e6b1 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -1329,5 +1329,6 @@ #define NSPasteboardTypeTIFF NSTIFFPboardType
 #define NSControlStateValueOn NSOnState
 #define NSControlStateValueOff NSOffState
 #define NSBezelStyleRounded NSRoundedBezelStyle
+#define NSButtonTypeMomentaryPushIn NSMomentaryPushInButton
 #endif
 #endif /* HAVE_NS */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]