unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: David Caldwell <david@porkrind.org>
Cc: emacs <emacs-devel@gnu.org>
Subject: Re: Master branch build failure on macOS 10.11
Date: Thu, 12 May 2022 12:37:19 +0800	[thread overview]
Message-ID: <874k1vz7r4.fsf@yahoo.com> (raw)
In-Reply-To: <264a1eec-b07b-0527-8d17-874837b561af@porkrind.org> (David Caldwell's message of "Wed, 11 May 2022 21:06:55 -0700")

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	other threads:[~2022-05-12  4:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1494435167.18.1652254777799@porkrind.org>
2022-05-11 19:49 ` Master branch build failure on macOS 10.11 David Caldwell
2022-05-12  0:03   ` Po Lu
2022-05-12  4:06     ` David Caldwell
2022-05-12  4:37       ` Po Lu [this message]
2022-05-12  8:56         ` David Caldwell
2022-05-12  9:22           ` Po Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874k1vz7r4.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=david@porkrind.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).