X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fportable.nt;h=208edae1044ef4e1b85d0cb763b3f35b652824e4;hb=a3ee061fdc9d744e487ad1801d80b63690c26427;hp=cb21918247a74002bc3ffd9452c756060b58a128;hpb=1aae2ffb46298095f77f4398b39f27d29d1c0931;p=openldap diff --git a/include/portable.nt b/include/portable.nt index cb21918247..208edae104 100644 --- a/include/portable.nt +++ b/include/portable.nt @@ -2,7 +2,7 @@ /* include/portable.h.nt -- manually updated of MS NT (MS VC5) */ /* synced with portable.h.in 1.24 */ /* - * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA + * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA * All rights reserved. * * Redistribution and use in source and binary forms are permitted only @@ -16,6 +16,11 @@ /* end of preamble */ +#if !defined( SLAPD_SCHEMA_COMPAT ) && !defined( SLAPD_SCHEMA_NOT_COMPAT ) + /* use new schema codes */ +#define SLAPD_SCHEMA_NOT_COMPAT 1 +#endif + /* --------------------------------------------------- */ /* begin of MSVC5 specific entries */ @@ -26,7 +31,11 @@ /* don't suck in all of the win32 api */ #define WIN32_LEAN_AND_MEAN -#ifdef _MT +#if defined(_WIN32) && !defined(_WINNT) && !defined(_WIN95) +#define _WINNT +#endif + +#if defined( _MT ) && defined( _WINNT ) #define HAVE_NT_THREADS 1 #else #define NO_THREADS 1 @@ -199,10 +208,7 @@ typedef signed int ssize_t; #define HAVE_SYS_ERRLIST 1 /* define if you have berkeley db */ -/* #undef HAVE_BERKELEY_DB */ - -/* define if you have berkeley db2 */ -#define HAVE_BERKELEY_DB2 1 +#define HAVE_BERKELEY_DB 1 /* define if you have crypt */ /* #undef HAVE_CRYPT */