From 93f78b91c62d7e7518e5c19b92f699a35d3e3430 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 22 Nov 1998 23:42:26 +0000 Subject: [PATCH] Update NT portable.h --- include/portable.h.nt | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/include/portable.h.nt b/include/portable.h.nt index fd8efac976..ec93139f55 100644 --- a/include/portable.h.nt +++ b/include/portable.h.nt @@ -1,5 +1,5 @@ /* include/portable.h.nt -- manually updated of MS NT (MS VC5) */ -/* synced with portable.h.in 1.11 */ +/* synced with portable.h.in 1.2.2.6 */ /* Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA All rights reserved. @@ -153,6 +153,9 @@ typedef char * caddr_t; /* define this if sys_errlist is not defined in stdio.h or errno.h */ /* #undef DECL_SYS_ERRLIST */ +/* define this if TIOCGWINSZ is defined in sys/ioctl.h */ +/* #undef GWINSZ_IN_SYS_IOCTL */ + /* define if you have berkeley db */ /* #undef HAVE_BERKELEY_DB */ @@ -189,12 +192,12 @@ typedef char * caddr_t; /* define if you have Mach CThreads */ /* #undef HAVE_MACH_CTHREADS */ +/* define if you have POSIX termios */ +/* #undef HAVE_POSIX_TERMIOS */ + /* define if you have PP */ /* #undef HAVE_PP */ -/* define if you have a preemptive POSIX Threads implementation */ -/* #undef HAVE_PREEMPTIVE_PTHREADS */ - /* define if you have POSIX Threads */ /* #undef HAVE_PTHREADS */ @@ -204,6 +207,9 @@ typedef char * caddr_t; /* define if your POSIX Threads implementatin is circa Draft 4 */ /* #undef HAVE_PTHREADS_D4 */ +/* define if you have ptrdiff_t */ +#define HAVE_PTRDIFF_T + /* define if you have sched_yield() */ #ifdef __notdef__ /* see second sched_yield define */ @@ -225,6 +231,9 @@ typedef char * caddr_t; /* define if you have XTPP */ /* #undef HAVE_XTPP */ +/* define this if select() implicitly yields in thread environments */ +#define HAVE_YIELDING_SELECT 1 + /* define this for connectionless LDAP support */ /* #undef LDAP_CONNECTIONLESS */ @@ -258,9 +267,6 @@ typedef char * caddr_t; /* define this if you want no thread support */ #define NO_THREADS 1 -/* define this if the thread package is preemptive */ -#define PREEMPTIVE_THREADS 1 - /* define this for ACL Group support */ #define SLAPD_ACLGROUPS @@ -297,6 +303,9 @@ typedef char * caddr_t; /* The number of bytes in a short. */ #define SIZEOF_SHORT 2 +/* Define if you have the alarm function. */ +/* #undef HAVE_ALARM */ + /* Define if you have the bcopy function. */ /* #undef HAVE_BCOPY */ @@ -330,8 +339,8 @@ typedef char * caddr_t; /* Define if you have the mkstemp function. */ /* #undef HAVE_MKSTEMP */ -/* Define if you have the mktime function. */ -#define HAVE_MKTIME 1 +/* Define if you have the pow function. */ +/* #undef HAVE_POW */ /* Define if you have the pthread_attr_create function. */ /* #undef HAVE_PTHREAD_ATTR_CREATE */ @@ -405,9 +414,6 @@ typedef char * caddr_t; /* Define if you have the strstr function. */ #define HAVE_STRSTR 1 -/* Define if you have the strtod function. */ -#define HAVE_STRTOD 1 - /* Define if you have the strtok function. */ #define HAVE_STRTOK 1 @@ -498,6 +504,9 @@ typedef char * caddr_t; /* Define if you have the header file. */ /* #undef HAVE_NDIR_H */ +/* Define if you have the header file. */ +/* #undef HAVE_PSAP_H */ + /* Define if you have the header file. */ /* #undef HAVE_PTHREAD_H */