+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.
#define WINVER 0x0600
#include <ntstatus.h>
-#include <wchar.h>
#include <windows.h>
#include <wininet.h>
#include <lmcons.h>
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