From 8e10bd5f81d0e5f4e2df8548db877f118664e3f9 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 17 Jun 1999 19:03:41 +0000 Subject: [PATCH] Fix up NT slapd.dsp and nt_svc.c so that slapd builds under MSVC5. --- servers/slapd/nt_svc.c | 2 +- servers/slapd/slapd.dsp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5