From: Kurt Zeilenga Date: Thu, 17 Jun 1999 19:03:41 +0000 (+0000) Subject: Fix up NT slapd.dsp and nt_svc.c so that slapd builds under MSVC5. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~276 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8e10bd5f81d0e5f4e2df8548db877f118664e3f9;p=openldap Fix up NT slapd.dsp and nt_svc.c so that slapd builds under MSVC5. --- diff --git a/servers/slapd/nt_svc.c b/servers/slapd/nt_svc.c index b4e3bc6905..12b00e150e 100644 --- a/servers/slapd/nt_svc.c +++ b/servers/slapd/nt_svc.c @@ -40,7 +40,7 @@ char *GetLastErrorString( void ); int srv_install( char* service, char* filename ); int srv_remove ( char* service, char* filename ); -void nt_main( DWORD argc, LPTSTR *argv ) +void main( DWORD argc, LPTSTR *argv ) { int length; char filename[MAX_PATH], *fname_start; diff --git a/servers/slapd/slapd.dsp b/servers/slapd/slapd.dsp index 463f2da1ee..a8c39ef68b 100644 --- a/servers/slapd/slapd.dsp +++ b/servers/slapd/slapd.dsp @@ -147,6 +147,10 @@ SOURCE=.\main.c # End Source File # Begin Source File +SOURCE=.\nt_svc.c +# End Source File +# Begin Source File + SOURCE=".\proto-slap.h" # End Source File # Begin Source File