From: Kurt Zeilenga Date: Mon, 21 Jun 1999 22:32:38 +0000 (+0000) Subject: Add support for lber_types.h.nt and add a few NT specific feature macros. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~254 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f97251a9d14981b0b42e9ef36a937814d99a4680;p=openldap Add support for lber_types.h.nt and add a few NT specific feature macros. --- diff --git a/include/portable.h.nt b/include/portable.h.nt index dae5950a56..33caa1cc96 100644 --- a/include/portable.h.nt +++ b/include/portable.h.nt @@ -23,6 +23,18 @@ #define EXEEXT ".exe" #define LDAP_DIRSEP "\\" +/* don't suck in all of the win32 api */ +#define WIN32_LEAN_AND_MEAN + +#ifdef _WINNT +/* WindowsNT specific features */ +#define HAVE_NT_SERVICE_MANAGER 1 +#define HAVE_NT_EVENT_LOG 1 + +#elif _WIN95 +/* Windows95 specific features */ +#endif + #if defined( _DEBUG ) && !defined( LDAP_DEBUG ) /* #define LDAP_MEMORY_DEBUG 1 */ #define LDAP_DEBUG 1 diff --git a/include/setup.dsp b/include/setup.dsp index 39e2123a8a..144fdf6865 100644 --- a/include/setup.dsp +++ b/include/setup.dsp @@ -78,6 +78,22 @@ CFG=setup - Win32 Debug # Begin Source File +SOURCE=.\lber_types.h.nt +# End Source File +# Begin Source File + +SOURCE=.\ldap_config.h.nt +# End Source File +# Begin Source File + +SOURCE=.\ldap_features.h.nt +# End Source File +# Begin Source File + +SOURCE=.\portable.h.nt +# End Source File +# Begin Source File + SOURCE=.\setup.mak # End Source File # End Target