* Makefile.in (CFLAGS): Drop -nostdinc.
* cygsuba.c: Reorder includes to allow building with VC++. * make-64bit-version-with-visual-c.bat: New file.
This commit is contained in:
parent
fb7dc2480c
commit
ace7360b45
@ -1,3 +1,9 @@
|
|||||||
|
2006-10-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* Makefile.in (CFLAGS): Drop -nostdinc.
|
||||||
|
* cygsuba.c: Reorder includes to allow building with VC++.
|
||||||
|
* make-64bit-version-with-visual-c.bat: New file.
|
||||||
|
|
||||||
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
|
2006-07-14 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* Makefile.in (LIBS): Link against msvcrt.dll, too.
|
* Makefile.in (LIBS): Link against msvcrt.dll, too.
|
||||||
|
@ -31,7 +31,7 @@ INSTALL_DATA := @INSTALL_DATA@
|
|||||||
CC := @CC@
|
CC := @CC@
|
||||||
CC_FOR_TARGET := $(CC)
|
CC_FOR_TARGET := $(CC)
|
||||||
|
|
||||||
CFLAGS := @CFLAGS@ -nostdinc
|
CFLAGS := @CFLAGS@
|
||||||
|
|
||||||
include $(srcdir)/../Makefile.common
|
include $(srcdir)/../Makefile.common
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* cygsuba.c: Minimal subauthentication functionality to support
|
/* cygsuba.c: Minimal subauthentication functionality to support
|
||||||
logon without password.
|
logon without password.
|
||||||
|
|
||||||
Copyright 2001 Red Hat, Inc.
|
Copyright 2001, 2006 Red Hat, Inc.
|
||||||
|
|
||||||
Written by Corinna Vinschen <vinschen@redhat.com>
|
Written by Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
@ -12,8 +12,8 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|||||||
details. */
|
details. */
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <subauth.h>
|
|
||||||
#include <ntsecapi.h>
|
#include <ntsecapi.h>
|
||||||
|
#include <subauth.h>
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
Msv1_0SubAuthenticationRoutine (NETLOGON_LOGON_INFO_CLASS logon_level,
|
Msv1_0SubAuthenticationRoutine (NETLOGON_LOGON_INFO_CLASS logon_level,
|
||||||
|
11
winsup/subauth/make-64bit-version-with-visual-c.bat
Normal file
11
winsup/subauth/make-64bit-version-with-visual-c.bat
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
rem This batchfile shows how to generate a 64 bit version of cygsuba.dll.
|
||||||
|
rem The 32 bit version will not work on 64 bit systems.
|
||||||
|
rem
|
||||||
|
rem This can be used as long as no x86_64-pe/coff capable gcc is available.
|
||||||
|
rem Note that this is for building inside the source dir as not to interfere
|
||||||
|
rem with the "official" 32 bit build in the build directory.
|
||||||
|
rem
|
||||||
|
rem Install the dll into the 64 bit $SYSTEMROOT.
|
||||||
|
rem
|
||||||
|
sed -e 's/ = .*$//' < cygsuba.din > cygsuba.def
|
||||||
|
cl /LDd /Wp64 /Fecygsuba.dll cygsuba.c /link /def:cygsuba.def
|
Loading…
x
Reference in New Issue
Block a user