Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-05-10 14:06:51 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-05-10 14:06:51 +0400
commitd2302a485fff70d7b4dcf6dd779cbbb528ccdb78 (patch)
treef0c259ca6699194769948265c6647c066b78e52e /winsup/lsaauth
parent4964dafb6553af221f2367ac324c5c8c4ee21301 (diff)
* Makefile.in: Don't override CC.
* cyglsa.c: Don't include wchar.h. Declare wcscpy and wcslen instead. * cyglsa64.dll: Rebuild.
Diffstat (limited to 'winsup/lsaauth')
-rw-r--r--winsup/lsaauth/ChangeLog6
-rw-r--r--winsup/lsaauth/Makefile.in2
-rw-r--r--winsup/lsaauth/cyglsa.c6
-rw-r--r--winsup/lsaauth/cyglsa64.dllbin8704 -> 8704 bytes
4 files changed, 11 insertions, 3 deletions
diff --git a/winsup/lsaauth/ChangeLog b/winsup/lsaauth/ChangeLog
index 3dbc2b873..bbb763a1e 100644
--- a/winsup/lsaauth/ChangeLog
+++ b/winsup/lsaauth/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-10 Corinna Vinschen <corinna@vinschen.de>
+
+ * Makefile.in: Don't override CC.
+ * cyglsa.c: Don't include wchar.h. Declare wcscpy and wcslen instead.
+ * cyglsa64.dll: Rebuild.
+
2011-03-31 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (LIBS): Remove advapi32.dll.
diff --git a/winsup/lsaauth/Makefile.in b/winsup/lsaauth/Makefile.in
index 82b58363c..948c08b34 100644
--- a/winsup/lsaauth/Makefile.in
+++ b/winsup/lsaauth/Makefile.in
@@ -29,8 +29,6 @@ INSTALL_DATA := @INSTALL_DATA@
CC := @CC@
CC_FOR_TARGET := $(CC)
-override CC := @NO_CYGWIN@ $(firstword ${CC})
-
CFLAGS := @CFLAGS@
include $(srcdir)/../Makefile.common
diff --git a/winsup/lsaauth/cyglsa.c b/winsup/lsaauth/cyglsa.c
index 0e7a05797..e64d0e11f 100644
--- a/winsup/lsaauth/cyglsa.c
+++ b/winsup/lsaauth/cyglsa.c
@@ -11,7 +11,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */
#define WINVER 0x0600
#include <ntstatus.h>
-#include <wchar.h>
#include <windows.h>
#include <wininet.h>
#include <lmcons.h>
@@ -49,6 +48,11 @@ ULONG NTAPI RtlLengthSid (PSID);
PULONG NTAPI RtlSubAuthoritySid (PSID, ULONG);
PUCHAR NTAPI RtlSubAuthorityCountSid (PSID);
BOOLEAN NTAPI RtlValidSid (PSID);
+/* These standard POSIX functions are implemented in NTDLL and exported.
+ There's just no header to define them and using wchar.h from mingw
+ or Cygwin seems wrong somehow. */
+wchar_t *__cdecl wcscpy (wchar_t *, const wchar_t *);
+size_t __cdecl wcslen (const wchar_t *);
#ifndef RtlInitEmptyUnicodeString
__inline VOID NTAPI
diff --git a/winsup/lsaauth/cyglsa64.dll b/winsup/lsaauth/cyglsa64.dll
index 18acaf8c7..14f1f6cff 100644
--- a/winsup/lsaauth/cyglsa64.dll
+++ b/winsup/lsaauth/cyglsa64.dll
Binary files differ