public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: corinna@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [setup] branch master, updated. release_2.873-13-g382cca4
Date: Wed, 20 Jan 2016 20:48:00 -0000	[thread overview]
Message-ID: <20160120204838.7041.qmail@sourceware.org> (raw)




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

commit 382cca427afd039fe5ee7ccc5eb88f19a33daaa1
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 20 21:29:29 2016 +0100

    Partially revert "Remove autoload considerations from win32.h"
    
    	Keep WINBASEAPI defined.  Change comment to explain why.


Diff:
---
 win32.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/win32.h b/win32.h
index 2e63ec2..7c6500f 100644
--- a/win32.h
+++ b/win32.h
@@ -44,6 +44,16 @@
 /* # of 100ns intervals per second. */
 #define NSPERSEC 10000000LL
 
+/* FIXME:
+
+   2016-01-20: Defining WINBASEAPI is required with current versions
+   of the Mingw-w64 cross toolchain on Cygwin due the overloading
+   definitions of some kernel32 functions in filemanip.cc.  It's not
+   required when cross building on Fedora 23, so it must have something
+   to do with current Mingw-w64 headers or libs (4.0.2 vs 4.0.4?).
+   Binutils is 2.25 both. */
+#define WINBASEAPI
+
 #include <windows.h>
 
 /* FIXME: The use of _access(fname, 0) as an existence check should be


                 reply	other threads:[~2016-01-20 20:48 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=20160120204838.7041.qmail@sourceware.org \
    --to=corinna@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).