Diff for /include/Attic/portable.nt between versions 1.3.2.4 and 1.4

version 1.3.2.4, 2002/01/04 20:38:16 version 1.4, 1999/10/27 02:41:38
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/include/portable.nt,v 1.3.2.3 2000/07/04 17:58:49 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/include/portable.nt,v 1.3 1999/08/30 23:17:01 kdz Exp $ */
 /* include/portable.h.nt -- manually updated of MS NT (MS VC5) */  /* include/portable.h.nt -- manually updated of MS NT (MS VC5) */
 /* synced with portable.h.in 1.24 */  /* synced with portable.h.in 1.24 */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA   * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms are permitted only   * Redistribution and use in source and binary forms are permitted only
Line 16 Line 16
   
 /* end of preamble */  /* end of preamble */
   
 /* comment this out if you don't have Cyrus SASL */  
 #define HAVE_CYRUS_SASL 1  
   
 /* --------------------------------------------------- */  /* --------------------------------------------------- */
 /* begin of MSVC5 specific entries */  /* begin of MSVC5 specific entries */
   
 #define OPENLDAP_PACKAGE "OpenLDAP"  #define OPENLDAP_PACKAGE "OpenLDAP"
 #define OPENLDAP_VERSION "-devel"  #define OPENLDAP_VERSION "-devel"
 #define EXEEXT ".exe"  #define EXEEXT ".exe"
   #define LDAP_DIRSEP "\\"
   
 /* don't suck in all of the win32 api */  /* don't suck in all of the win32 api */
 #define WIN32_LEAN_AND_MEAN  #define WIN32_LEAN_AND_MEAN
   
 #if defined(_WIN32) && !defined(_WINNT) && !defined(_WIN95)  #ifdef _WINNT
 #define _WINNT  /* WindowsNT specific features */
 #endif  
   
 #if defined( _MT ) && defined( _WINNT )  
 #define HAVE_NT_THREADS 1  
 #else  
 #define NO_THREADS 1  
 #endif  
   
 #ifdef HAVE_NT_THREADS  
 /* enable WINNT specific features only if we have NT THREADS */  
 #define HAVE_NT_SERVICE_MANAGER 1  #define HAVE_NT_SERVICE_MANAGER 1
 #define HAVE_NT_EVENT_LOG 1  #define HAVE_NT_EVENT_LOG 1
   
   #elif _WIN95
   /* Windows95 specific features */
 #endif  #endif
   
 #if defined( _DEBUG ) && !defined( LDAP_DEBUG )  #if defined( _DEBUG ) && !defined( LDAP_DEBUG )
Line 58 Line 49
   
 #define strcasecmp      stricmp  #define strcasecmp      stricmp
 #define strncasecmp     strnicmp  #define strncasecmp     strnicmp
   #define strdup          _strdup
   
 #define snprintf        _snprintf  #define snprintf        _snprintf
 #define vsnprintf       _vsnprintf  #define vsnprintf       _vsnprintf
Line 66 Line 58
 /* define type for caddr_t */  /* define type for caddr_t */
 typedef char * caddr_t;  typedef char * caddr_t;
   
 /* define type for ssize_t */  #define ssize_t signed int
 typedef signed int ssize_t;  
   #define LOG_DEBUG 0
   #define openlog( a, b )
   #define closelog()
   
   #define FD_SETSIZE 1024
   
   /* we have NT threads */
   #ifdef _MT
   #define HAVE_NT_THREADS 1
   #else
   #define NO_THREADS 1
   #endif
   
 /* we have spawnlp instead of fork/execlp */  /* we have spawnlp instead of fork/execlp */
 #define HAVE_SPAWNLP 1  #define HAVE_SPAWNLP 1
Line 93  typedef signed int ssize_t; Line 97  typedef signed int ssize_t;
 /* we have <wincrypt.h> */  /* we have <wincrypt.h> */
 #define HAVE_WINCRYPT_H 1  #define HAVE_WINCRYPT_H 1
   
   #define LDAP_SIGUSR1    SIGILL
   #define LDAP_SIGUSR2    SIGTERM
   
 #define MAXPATHLEN _MAX_PATH  #define MAXPATHLEN _MAX_PATH
   
 /* end of MSVC5 specific entries */  /* end of MSVC5 specific entries */
Line 206  typedef signed int ssize_t; Line 213  typedef signed int ssize_t;
 #define HAVE_SYS_ERRLIST 1   #define HAVE_SYS_ERRLIST 1 
   
 /* define if you have berkeley db */  /* define if you have berkeley db */
 #define HAVE_BERKELEY_DB 1  /* #undef HAVE_BERKELEY_DB */
   
   /* define if you have berkeley db2 */
   #define HAVE_BERKELEY_DB2 1
   
 /* define if you have crypt */  /* define if you have crypt */
 /* #undef HAVE_CRYPT */  /* #undef HAVE_CRYPT */
Line 259  typedef signed int ssize_t; Line 269  typedef signed int ssize_t;
 /* define this for ACL Group support */  /* define this for ACL Group support */
 #define SLAPD_ACLGROUPS 1  #define SLAPD_ACLGROUPS 1
   
   /* define this to use SLAPD Berkeley DB2 backend */
   /* #define SLAPD_BDB2 1 */
   
 /* define this for ClearText password support */  /* define this for ClearText password support */
 #define SLAPD_CLEARTEXT 1  #define SLAPD_CLEARTEXT 1
   
Line 271  typedef signed int ssize_t; Line 284  typedef signed int ssize_t;
 /* define this to use SLAPD LDBM backend */  /* define this to use SLAPD LDBM backend */
 #define SLAPD_LDBM 1  #define SLAPD_LDBM 1
   
 /* define this to use SLAPD SQL backend */  
 /* #undef SLAPD_SQL */  
   
 /* define this to use SLAPD passwd backend */  /* define this to use SLAPD passwd backend */
 /* #undef SLAPD_PASSWD */  /* #undef SLAPD_PASSWD */
   
Line 289  typedef signed int ssize_t; Line 299  typedef signed int ssize_t;
 /* define this for per-object ACIs */  /* define this for per-object ACIs */
 /* #undef SLAPD_ACI_ENABLED */  /* #undef SLAPD_ACI_ENABLED */
   
   /* define this for discrete rights in ACIs */
   /* #undef SLAPD_ACI_DISCRETE_RIGHTS */
   
 /* define this to use SLAPD shell backend */  /* define this to use SLAPD shell backend */
 /* #undef SLAPD_SHELL */  /* #undef SLAPD_SHELL */
   
Line 393  typedef signed int ssize_t; Line 406  typedef signed int ssize_t;
 /* Define if you have the sigset function.  */  /* Define if you have the sigset function.  */
 /* #undef HAVE_SIGSET */  /* #undef HAVE_SIGSET */
   
   /* Define if you have the snprintf function.  */
   /* #undef HAVE_SNPRINTF */
   
 /* Define if you have the socket function.  */  /* Define if you have the socket function.  */
 #define HAVE_SOCKET 1  #define HAVE_SOCKET 1
   
 /* Define if you have the snprintf function.  */  
 #define HAVE_SNPRINTF 1  
   
 /* Define if you have the strdup function.  */  /* Define if you have the strdup function.  */
 #define HAVE_STRDUP 1  #define HAVE_STRDUP 1
   
Line 436  typedef signed int ssize_t; Line 449  typedef signed int ssize_t;
 /* #undef HAVE_SYSCONF */  /* #undef HAVE_SYSCONF */
   
 /* Define if you have the tempnam function.  */  /* Define if you have the tempnam function.  */
 #define HAVE_TEMPNAM 1  /* #undef HAVE_TEMPNAM */
   
 /* Define if you have the thr_getconcurrency function.  */  /* Define if you have the thr_getconcurrency function.  */
 /* #undef HAVE_THR_GETCONCURRENCY */  /* #undef HAVE_THR_GETCONCURRENCY */
Line 517  typedef signed int ssize_t; Line 530  typedef signed int ssize_t;
 #define HAVE_MALLOC_H 1  #define HAVE_MALLOC_H 1
   
 /* Define if you have the <memory.h> header file.  */  /* Define if you have the <memory.h> header file.  */
 #define HAVE_MEMORY_H 1  /* #define HAVE_MEMORY_H */
   
 /* Define if you have the <ncurses.h> header file.  */  /* Define if you have the <ncurses.h> header file.  */
 /* #undef HAVE_NCURSES_H */  /* #undef HAVE_NCURSES_H */
Line 725  typedef signed int ssize_t; Line 738  typedef signed int ssize_t;
   
 /* begin of postamble */  /* begin of postamble */
   
 #ifndef LDAP_NEEDS_PROTOTYPES  #ifndef __NEED_PROTOTYPES
 /* force LDAP_P to always include prototypes */  /* force LDAP_P to always include prototypes */
 #define LDAP_NEEDS_PROTOTYPES 1   #define __NEED_PROTOTYPES 1 
 #endif  #endif
   
 #ifdef HAVE_STDDEF_H  #ifdef HAVE_STDDEF_H

Removed from v.1.3.2.4  
changed lines
  Added in v.1.4


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org