public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org>
To: cygwin-apps-cvs@sourceware.org
Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.917-1-gf29127cc
Date: Mon, 24 Jan 2022 18:25:42 +0000 (GMT)	[thread overview]
Message-ID: <20220124182542.530853858D3C@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=f29127cc13873473c86d7fce70c621085628d6a2

commit f29127cc13873473c86d7fce70c621085628d6a2
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Mon Jan 24 18:13:51 2022 +0000

    Provide prototype for SHMessageBoxCheckW()
    
    Present in implib, but not prototyped in MinGW64 headers until 9.0.0


Diff:
---
 msg.cc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/msg.cc b/msg.cc
index 39d87ebe..bcb32660 100644
--- a/msg.cc
+++ b/msg.cc
@@ -29,6 +29,11 @@
 #include "String++.h"
 #include "resource.h"
 
+// no prototype in shlwapi.h until MinGW64 headers 9.0.0
+#if __MINGW64_VERSION_MAJOR < 9
+extern "C" int WINAPI SHMessageBoxCheckW(HWND hwnd, LPCWSTR pszText, LPCWSTR pszCaption, UINT uType, int iDefault, LPCWSTR pszRegVal);
+#endif
+
 static int
 unattended_result(int mb_type)
 {



                 reply	other threads:[~2022-01-24 18:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=20220124182542.530853858D3C@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.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.
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).