This is the mail archive of the
cygwin-apps-cvs
mailing list for the cygwin-apps project.
[setup] branch master, updated. release_2.873-13-g382cca4
- From: corinna at sourceware dot org
- To: cygwin-apps-cvs at sourceware dot org
- Date: 20 Jan 2016 20:48:38 -0000
- Subject: [setup] branch master, updated. release_2.873-13-g382cca4
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