]> git.sur5r.net Git - openldap/blob - include/portable.nt
Port to NT.
[openldap] / include / portable.nt
1 /* $OpenLDAP$ */
2 /* include/portable.h.nt -- manually updated of MS NT (MS VC5) */
3 /* synced with portable.h.in 1.24 */
4 /*
5  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms are permitted only
9  * as authorized by the OpenLDAP Public License.  A copy of this
10  * license is available at http://www.OpenLDAP.org/license.html or
11  * in file LICENSE in the top-level directory of the distribution.
12  */
13
14 #ifndef _LDAP_PORTABLE_H
15 #define _LDAP_PORTABLE_H
16
17 /* end of preamble */
18
19 /* --------------------------------------------------- */
20 /* begin of MSVC5 specific entries */
21
22 #define OPENLDAP_PACKAGE "OpenLDAP"
23 #define OPENLDAP_VERSION "-devel"
24 #define EXEEXT ".exe"
25 #define LDAP_DIRSEP "\\"
26
27 /* don't suck in all of the win32 api */
28 #define WIN32_LEAN_AND_MEAN
29
30 #ifdef _WINNT
31 /* WindowsNT specific features */
32 #define HAVE_NT_SERVICE_MANAGER 1
33 #define HAVE_NT_EVENT_LOG 1
34
35 #elif _WIN95
36 /* Windows95 specific features */
37 #endif
38
39 #if defined( _DEBUG ) && !defined( LDAP_DEBUG )
40 /* #define LDAP_MEMORY_DEBUG 1 */
41 #define LDAP_DEBUG 1
42 #endif
43
44 /* we installed Henry Spencer's REGEX */
45 #define HAVE_REGEX_H 1
46
47 /* win32 specific stuff */
48 #define sleep _sleep
49
50 #define strcasecmp      stricmp
51 #define strncasecmp     strnicmp
52 #define strdup          _strdup
53
54 #define snprintf        _snprintf
55 #define vsnprintf       _vsnprintf
56 /* #define vsprintf     _vsprintf */
57
58 /* define type for caddr_t */
59 typedef char * caddr_t;
60
61 #define ssize_t signed int
62
63 #define LOG_DEBUG 0
64 #define openlog( a, b )
65 #define closelog()
66
67 #define FD_SETSIZE 1024
68
69 /* we have NT threads */
70 #ifdef _MT
71 #define HAVE_NT_THREADS 1
72 #else
73 #define NO_THREADS 1
74 #endif
75
76 /* we have spawnlp instead of fork/execlp */
77 #define HAVE_SPAWNLP 1
78
79 /* we have winsock2 */
80 #define HAVE_WINSOCK2 1
81
82 /* we have winsock */
83 #define HAVE_WINSOCK 1
84
85 /* we have <conio.h> */
86 #define HAVE_CONIO_H 1
87
88 /* we have <direct.h> */
89 #define HAVE_DIRECT_H 1
90
91 /* we have <io.h> */
92 #define HAVE_IO_H 1
93
94 /* we have <process.h> */
95 #define HAVE_PROCESS_H 1
96
97 /* we have <wincrypt.h> */
98 #define HAVE_WINCRYPT_H 1
99
100 #define LDAP_SIGUSR1    SIGILL
101 #define LDAP_SIGUSR2    SIGTERM
102
103 #define MAXPATHLEN _MAX_PATH
104
105 /* end of MSVC5 specific entries */
106 /* --------------------------------------------------- */
107
108 /* Define if on AIX 3.
109    System headers sometimes define this.
110    We just want to avoid a redefinition error message.  */
111 #ifndef _ALL_SOURCE
112 /* #undef _ALL_SOURCE */
113 #endif
114
115 /* Define to empty if the keyword does not work.  */
116 /* #undef const */
117
118 /* Define to the type of elements in the array set by `getgroups'.
119    Usually this is either `int' or `gid_t'.  */
120 /* #undef GETGROUPS_T */
121
122 /* Define to `int' if <sys/types.h> doesn't define.  */
123 #define gid_t long
124
125 /* Define if you don't have vprintf but do have _doprnt.  */
126 /* #undef HAVE_DOPRNT */
127
128 /* Define if your struct stat has st_blksize.  */
129 /* #undef HAVE_ST_BLKSIZE */
130
131 /* Define if you have the strftime function.  */
132 #define HAVE_STRFTIME 1
133
134 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
135 /* #undef HAVE_SYS_WAIT_H */
136
137 /* Define if you have the vprintf function.  */
138 #define HAVE_VPRINTF 1
139
140 /* Define if on MINIX.  */
141 /* #undef _MINIX */
142
143 /* Define to `int' if <sys/types.h> doesn't define.  */
144 #define mode_t int
145
146 /* Define to `long' if <sys/types.h> doesn't define.  */
147 /* #undef off_t */
148
149 /* Define to `int' if <sys/types.h> doesn't define.  */
150 #define pid_t int
151
152 /* Define if the system does not provide POSIX.1 features except
153    with this defined.  */
154 /* #undef _POSIX_1_SOURCE */
155
156 /* Define if you need to in order for stat and other things to work.  */
157 /* #undef _POSIX_SOURCE */
158
159 /* Define as the return type of signal handlers (int or void).  */
160 #define RETSIGTYPE void
161
162 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
163 /* #undef size_t */
164
165 /* Define if you have the ANSI C header files.  */
166 #define STDC_HEADERS 1
167
168 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
169 /* #undef TIME_WITH_SYS_TIME */
170
171 /* Define if your <sys/time.h> declares struct tm.  */
172 /* #undef TM_IN_SYS_TIME */
173
174 /* Define to `int' if <sys/types.h> doesn't define.  */
175 #define uid_t long
176
177 /* Define if your processor stores words with the most significant
178    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
179 /* #undef WORDS_BIGENDIAN */
180
181 /* define this if needed to get reentrant functions */
182 #ifndef REENTRANT
183 /* #undef REENTRANT */
184 #endif
185 #ifndef _REENTRANT
186 /* #undef _REENTRANT */
187 #endif
188
189 /* define this if needed to get threadsafe functions */
190 #ifndef THREADSAFE
191 /* #undef THREADSAFE */
192 #endif
193 #ifndef _THREADSAFE
194 /* #undef _THREADSAFE */
195 #endif
196 #ifndef THREAD_SAFE
197 /* #undef THREAD_SAFE */
198 #endif
199 #ifndef _THREAD_SAFE
200 /* #undef _THREAD_SAFE */
201 #endif
202
203 /* define this if toupper() requires tolower() */
204 #define C_UPPER_LOWER 1
205
206 /* define this to the number of arguments ctime_r() expects */
207 /* #undef CTIME_R_NARGS */
208
209 /* define this if sys_errlist is not defined in stdio.h or errno.h */
210 /* #undef DECL_SYS_ERRLIST */
211
212 /* define this if sys_errlist is available */
213 #define HAVE_SYS_ERRLIST 1 
214
215 /* define if you have berkeley db */
216 /* #undef HAVE_BERKELEY_DB */
217
218 /* define if you have berkeley db2 */
219 #define HAVE_BERKELEY_DB2 1
220
221 /* define if you have crypt */
222 /* #undef HAVE_CRYPT */
223
224 /* define if you have GDBM */
225 /* #undef HAVE_GDBM */
226
227 /* define if you have NDBM */
228 /* #undef HAVE_NDBM */
229
230 /* define if you have res_search() */
231 #ifdef __notdef__
232 /* see second res_search define */
233 /* #undef HAVE_RES_SEARCH */
234 #endif
235
236 /* define if you have sched_yield() */
237 #ifdef __notdef__
238 /* see second sched_yield define */
239 /* #undef HAVE_SCHED_YIELD */
240 #endif
241
242 /* define if you have setproctitle() */
243 /* #undef HAVE_SETPROCTITLE */
244
245 /* define this for connectionless LDAP support */
246 /* #undef LDAP_CONNECTIONLESS */
247
248 /* define this to add debugging code */
249 /* #undef LDAP_DEBUG */
250
251 /* define this to remove -lldap cache support */
252 /* #undef LDAP_NOCACHE */
253
254 /* define this for LDAP process title support */
255 /* #undef LDAP_PROCTITLE */
256
257 /* define this for LDAP User Interface support */
258 /* #undef LDAP_LIBUI */
259
260 /* define this to add syslog code */
261 /* #undef LDAP_SYSLOG */
262
263 /* define this to use DBBTREE w/ LDBM backend */
264 #define LDBM_USE_DBBTREE 1
265
266 /* define this to use DBHASH w/ LDBM backend */
267 /* #undef LDBM_USE_DBHASH */
268
269 /* define this for ACL Group support */
270 #define SLAPD_ACLGROUPS 1
271
272 /* define this to use SLAPD Berkeley DB2 backend */
273 /* #define SLAPD_BDB2 1 */
274
275 /* define this for ClearText password support */
276 #define SLAPD_CLEARTEXT 1
277
278 /* define this for crypt(3) password support */
279 /* #undef SLAPD_CRYPT */
280
281 /* define this to use SLAPD LDAP backend */
282 /* #undef SLAPD_LDAP */
283
284 /* define this to use SLAPD LDBM backend */
285 #define SLAPD_LDBM 1
286
287 /* define this to use SLAPD passwd backend */
288 /* #undef SLAPD_PASSWD */
289
290 /* define this to use SLAPD perl backend */
291 /* #undef SLAPD_PERL */
292
293 /* define this for phonetic support */
294 /* #undef SLAPD_PHONETIC */
295
296 /* define this for Reverse Lookup support */
297 #define SLAPD_RLOOKUPS 1
298
299 /* define this for per-object ACIs */
300 /* #undef SLAPD_ACI_ENABLED */
301
302 /* define this for discrete rights in ACIs */
303 /* #undef SLAPD_ACI_DISCRETE_RIGHTS */
304
305 /* define this to use SLAPD shell backend */
306 /* #undef SLAPD_SHELL */
307
308 /* define this to be empty if your compiler doesn't support volatile */
309 /* #undef volatile */
310
311 /* define this if sig_atomic_t isn't defined in signal.h */
312 /* #undef sig_atomic_t */
313
314 /* define this if socklen_t isn't defined in sys/types.h or sys/socket.h */
315 #define socklen_t int
316
317 /* These are defined in ldap_features.h */
318 /*
319  LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
320  LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
321  LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
322  LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
323 */
324
325 /* The number of bytes in a int.  */ 
326 #define SIZEOF_INT 4
327
328 /* The number of bytes in a long.  */ 
329 #define SIZEOF_LONG 4
330   
331 /* The number of bytes in a short.  */
332 #define SIZEOF_SHORT 2
333
334 /* Define if you have the bcopy function.  */
335 /* #undef HAVE_BCOPY */
336
337 /* Define if you have the ctime_r function.  */
338 /* #undef HAVE_CTIME_R */
339
340 /* Define if you have the flock function.  */
341 /* #undef HAVE_FLOCK */
342
343 /* Define if you have the getdtablesize function.  */
344 /* #undef HAVE_GETDTABLESIZE */
345
346 /* Define if you have the gethostbyaddr_r function.  */
347 /* #undef HAVE_GETHOSTBYADDR_R */
348
349 /* Define if you have the gethostbyname_r function.  */
350 /* #undef HAVE_GETHOSTBYNAME_R */
351
352 /* Define if you have the gethostname function.  */
353 #define HAVE_GETHOSTNAME 1
354
355 /* define if you have the getopt function */
356 /* #undef HAVE_GETOPT */
357
358 /* Define if you have the getpwuid function.  */
359 /* #undef HAVE_GETPWUID */
360
361 /* Define if you have the gettimeofday function.  */
362 /* #undef HAVE_GETTIMEOFDAY */
363
364 /* Define if you have the lockf function.  */
365 /* #undef HAVE_LOCKF */
366
367 /* Define if you have the memcpy function.  */
368 #define HAVE_MEMCPY 1
369
370 /* Define if you have the memmove function.  */
371 #define HAVE_MEMMOVE 1
372
373 /* Define if you have the mkstemp function.  */
374 /* #undef HAVE_MKSTEMP */
375
376 /* Define if you have the pthread_getconcurrency function.  */
377 /* #undef HAVE_PTHREAD_GETCONCURRENCY */
378
379 /* Define if you have the pthread_kill function.  */
380 /* #undef HAVE_PTHREAD_KILL */
381
382 /* Define if you have the pthread_setconcurrency function.  */
383 /* #undef HAVE_PTHREAD_SETCONCURRENCY */
384
385 /* Define if you have the pthread_yield function.  */
386 /* #undef HAVE_PTHREAD_YIELD */
387
388 /* Define if you have the res_search function.  */
389 /* #undef HAVE_RES_SEARCH */
390
391 /* Define if you have the sched_yield function.  */
392 /* #undef HAVE_SCHED_YIELD */
393
394 /* Define if you have the select function.  */
395 #define HAVE_SELECT 1
396
397 /* Define if you have the setpwfile function.  */
398 /* #undef HAVE_SETPWFILE */
399
400 /* Define if you have the setsid function.  */
401 /* #undef HAVE_SETSID */
402
403 /* Define if you have the signal function.  */
404 #define HAVE_SIGNAL 1
405
406 /* Define if you have the sigset function.  */
407 /* #undef HAVE_SIGSET */
408
409 /* Define if you have the snprintf function.  */
410 /* #undef HAVE_SNPRINTF */
411
412 /* Define if you have the socket function.  */
413 #define HAVE_SOCKET 1
414
415 /* Define if you have the strdup function.  */
416 #define HAVE_STRDUP 1
417
418 /* Define if you have the strerror function.  */
419 #define HAVE_STRERROR 1
420
421 /* Define if you have the strpbrk function.  */
422 #define HAVE_STRPBRK 1
423
424 /* Define if you have the strrchr function.  */
425 #define HAVE_STRRCHR 1
426
427 /* Define if you have the strsep function.  */
428 /* #undef HAVE_STRSEP */
429
430 /* Define if you have the strspn function.  */
431 #define HAVE_STRSPN 1
432
433 /* Define if you have the strstr function.  */
434 #define HAVE_STRSTR 1
435
436 /* Define if you have the strtok function.  */
437 #define HAVE_STRTOK 1
438
439 /* Define if you have the strtok_r function.  */
440 /* #undef HAVE_STRTOK_R */
441
442 /* Define if you have the strtol function.  */
443 #define HAVE_STRTOL 1
444
445 /* Define if you have the strtoul function.  */
446 #define HAVE_STRTOUL 1
447
448 /* Define if you have the sysconf function.  */
449 /* #undef HAVE_SYSCONF */
450
451 /* Define if you have the tempnam function.  */
452 /* #undef HAVE_TEMPNAM */
453
454 /* Define if you have the thr_getconcurrency function.  */
455 /* #undef HAVE_THR_GETCONCURRENCY */
456
457 /* Define if you have the thr_setconcurrency function.  */
458 /* #undef HAVE_THR_SETCONCURRENCY */
459
460 /* Define if you have the thr_yield function.  */
461 /* #undef HAVE_THR_YIELD */
462
463 /* Define if you have the vsnprintf function.  */
464 #define HAVE_VSNPRINTF 1
465
466 /* Define if you have the vsprintf function.  */
467 #define HAVE_VSPRINTF 1
468
469 /* Define if you have the waitpid function.  */
470 /* #undef HAVE_WAITPID 1 */
471
472 /* Define if you have the <arpa/nameser.h> header file.  */
473 /* #undef HAVE_ARPA_NAMESER_H */
474
475 /* Define if you have the <crypt.h> header file.  */
476 /* #undef HAVE_CRYPT_H */
477
478 /* Define if you have the <db.h> header file.  */
479 #define HAVE_DB_H 1
480
481 /* Define if you have the <db_185.h> header file.  */
482 /* #undef HAVE_DB_185_H */
483
484 /* Define if you have the <des.h> header file.  */
485 /* #undef HAVE_DES_H */
486
487 /* Define if you have the <dirent.h> header file.  */
488 /* #undef HAVE_DIRENT_H */
489
490 /* Define if you have the <dmalloc.h> header file.  */
491 /* #undef HAVE_DMALLOC_H */
492
493 /* Define if you have the <errno.h> header file.  */
494 #define HAVE_ERRNO_H 1
495
496 /* Define if you have the <fcntl.h> header file.  */
497 #define HAVE_FCNTL_H 1
498
499 /* Define if you have the <filio.h> header file.  */
500 /* #undef HAVE_FILIO_H */
501
502 /* Define if you have the <gdbm.h> header file.  */
503 /* #undef HAVE_GDBM_H */
504
505 /* Define if you have the <getopt.h> header file.  */
506 /* #undef HAVE_GETOPT_H */
507
508 /* Define if you have the <kerberosIV/des.h> header file.  */
509 /* #undef HAVE_KERBEROSIV_DES_H */
510
511 /* Define if you have the <kerberosIV/krb.h> header file.  */
512 /* #undef HAVE_KERBEROSIV_KRB_H */
513
514 /* Define if you have the <krb.h> header file.  */
515 /* #undef HAVE_KRB_H */
516
517 /* Define if you have the <libutil.h> header file.  */
518 /* #undef HAVE_LIBUTIL_H */
519
520 /* Define if you have the <limits.h> header file.  */
521 #define HAVE_LIMITS_H 1
522
523 /* Define if you have the <lwp/lwp.h> header file.  */
524 /* #undef HAVE_LWP_LWP_H */
525
526 /* Define if you have the <mach/cthreads.h> header file.  */
527 /* #undef HAVE_MACH_CTHREADS_H */
528
529 /* Define if you have the <malloc.h> header file.  */
530 #define HAVE_MALLOC_H 1
531
532 /* Define if you have the <memory.h> header file.  */
533 /* #define HAVE_MEMORY_H */
534
535 /* Define if you have the <ncurses.h> header file.  */
536 /* #undef HAVE_NCURSES_H */
537
538 /* Define if you have the <ndbm.h> header file.  */
539 /* #undef HAVE_NDBM_H */
540
541 /* Define if you have the <ndir.h> header file.  */
542 /* #undef HAVE_NDIR_H */
543
544 /* Define if you have the <psap.h> header file.  */
545 /* #undef HAVE_PSAP_H */
546
547 /* Define if you have the <pthread.h> header file.  */
548 /* #undef HAVE_PTHREAD_H */
549
550 /* Define if you have the <pwd.h> header file.  */
551 /* #undef HAVE_PWD_H */
552
553 /* Define if you have the <regex.h> header file.  */
554 /* #undef HAVE_REGEX_H */
555
556 /* Define if you have the <resolv.h> header file.  */
557 /* #undef HAVE_RESOLV_H */
558
559 /* Define if you have the <sched.h> header file.  */
560 /* #undef HAVE_SCHED_H */
561
562 /* Define if you have the <sgtty.h> header file.  */
563 /* #undef HAVE_SGTTY_H */
564
565 /* Define if you have the <stdarg.h> header file.  */
566 #define HAVE_STDARG_H 1
567
568 /* Define if you have the <stddef.h> header file.  */
569 #define HAVE_STDDEF_H 1
570
571 /* Define if you have the <string.h> header file.  */
572 #define HAVE_STRING_H 1
573
574 /* Define if you have the <strings.h> header file.  */
575 /* #undef HAVE_STRINGS_H */
576
577 /* Define if you have the <synch.h> header file.  */
578 /* #undef HAVE_SYNCH_H */
579
580 /* Define if you have the <sys/dir.h> header file.  */
581 /* #undef HAVE_SYS_DIR_H */
582
583 /* Define if you have the <sys/errno.h> header file.  */
584 /* #undef HAVE_SYS_ERRNO_H */
585
586 /* Define if you have the <sys/file.h> header file.  */
587 /* #undef HAVE_SYS_FILE_H */
588
589 /* Define if you have the <sys/filio.h> header file.  */
590 /* #undef HAVE_SYS_FILIO_H */
591
592 /* Define if you have the <sys/ioctl.h> header file.  */
593 /* #undef HAVE_SYS_IOCTL_H */
594
595 /* Define if you have the <sys/ndir.h> header file.  */
596 /* #undef HAVE_SYS_NDIR_H */
597
598 /* Define if you have the <sys/param.h> header file.  */
599 /* #undef HAVE_SYS_PARAM_H */
600
601 /* Define if you have the <sys/resource.h> header file.  */
602 /* #undef HAVE_SYS_RESOURCE_H */
603
604 /* Define if you have the <sys/socket.h> header file.  */
605 /* #undef HAVE_SYS_SOCKET_H */
606
607 /* Define if you have the <sys/syslog.h> header file.  */
608 /* #undef HAVE_SYS_SYSLOG_H */
609
610 /* Define if you have the <sys/time.h> header file.  */
611 /* #undef HAVE_SYS_TIME_H */
612
613 /* Define if you have the <sys/types.h> header file.  */
614 #define HAVE_SYS_TYPES_H 1
615
616 /* Define if you have the <sysexits.h> header file.  */
617 /* #undef HAVE_SYSEXITS_H */
618
619 /* Define if you have the <syslog.h> header file.  */
620 /* #undef HAVE_SYSLOG_H */
621
622 /* Define if you have the <tcpd.h> header file.  */
623 /* #undef HAVE_TCPD_H */
624
625 /* Define if you have the <termcap.h> header file.  */
626 /* #undef HAVE_TERMCAP_H */
627
628 /* Define if you have the <termios.h> header file.  */
629 /* #undef HAVE_TERMIOS_H */
630
631 /* Define if you have the <thread.h> header file.  */
632 /* #undef HAVE_THREAD_H */
633
634 /* Define if you have the <unistd.h> header file.  */
635 /* #undef HAVE_UNISTD_H */
636
637 /* Define if you have the V3 library (-lV3).  */
638 /* #undef HAVE_LIBV3 */
639
640 /* Define if you have the bind library (-lbind).  */
641 /* #undef HAVE_LIBBIND */
642
643 /* Define if you have the dmalloc library (-ldmalloc).  */
644 /* #undef HAVE_LIBDMALLOC */
645
646 /* Define if you have the gen library (-lgen).  */
647 /* #undef HAVE_LIBGEN */
648
649 /* Define if you have the inet library (-linet).  */
650 /* #undef HAVE_LIBINET */
651
652 /* Define if you have the net library (-lnet).  */
653 /* #undef HAVE_LIBNET */
654
655 /* Define if you have the nsl library (-lnsl).  */
656 /* #undef HAVE_LIBNSL */
657
658 /* Define if you have the nsl_s library (-lnsl_s).  */
659 /* #undef HAVE_LIBNSL_S */
660
661 /* Define if you have the resolv library (-lresolv).  */
662 /* #undef HAVE_LIBRESOLV */
663
664 /* Define if you have the socket library (-lsocket).  */
665 /* #undef HAVE_LIBSOCKET */
666
667 /* define if you have -lxtpp */
668 /* #undef HAVE_XTPP */
669
670 /* define if you have -ldsap */
671 /* #undef HAVE_DSAP */
672
673 /* define if you have -lisode */
674 /* #undef HAVE_ISODE */
675
676 /* define if you have -lpp */
677 /* #undef HAVE_PP */
678
679 /* define if you have Kerberos des_debug */
680 /* #undef HAVE_DES_DEBUG */
681
682 /* define if you have Kerberos */
683 /* #undef HAVE_KERBEROS */
684
685 /* define if pthreads API compatible with final spec */
686 /* #undef HAVE_PTHREADS_FINAL */
687
688 /* define if pthreads API compatible with draft4 spec */
689 /* #undef HAVE_PTHREADS_D4 */
690
691 /* define if you have LinuxThreads */
692 /* #undef HAVE_LINUX_THREADS */
693
694 /* define if you have POSIX Threads */
695 /* #undef HAVE_PTHREADS */
696
697 /* define if you have pthread_detach function */
698 /* #undef HAVE_PTHREAD_DETACH */
699
700 /* define if you have Mach Cthreads */
701 /* #undef HAVE_MACH_CTHREADS */
702
703 /* if you have Solaris LWP (thr) package */
704 /* #undef HAVE_THR */
705
706 /* if you have SunOS LWP package */
707 /* #undef HAVE_LWP */
708
709 /* define if select implicitly yields */
710 #define HAVE_YIELDING_SELECT 1
711
712 /* define if you have (or want) no threads */
713 /* #undef NO_THREADS */
714
715 /* define if you have -lwrap */
716 /* #undef HAVE_TCPD */
717
718 /* define if you have -ltermcap */
719 /* #undef HAVE_TERMCAP */
720
721 /* define if you have -lncurses */
722 /* #undef HAVE_NCURSES */
723
724 /* define if you have no termcap support */
725 #define NO_TERMCAP 1
726
727 /* Define if TIOCGWINSZ requires sys/ioctl.h */
728 /* #undef GWINSZ_IN_SYS_IOCTL */
729
730 /* define if you have POSIX termios */
731 /* #undef HAVE_POSIX_TERMIOS */
732
733 /* Define if system has ptrdiff_t type */
734 #define HAVE_PTRDIFF_T 1
735
736 /* define if cross compiling */
737 /* #undef CROSS_COMPILING */
738
739 /* begin of postamble */
740
741 #ifndef __NEED_PROTOTYPES
742 /* force LDAP_P to always include prototypes */
743 #define __NEED_PROTOTYPES 1 
744 #endif
745
746 #ifdef HAVE_STDDEF_H
747 #       include <stddef.h>
748 #endif
749
750 #if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
751 #define LDAP_TEST
752 #endif
753 #if defined(LDAP_TEST) && !defined(LDAP_DEBUG)
754 #define LDAP_DEBUG
755 #endif
756
757 #include "ldap_cdefs.h"
758 #include "ldap_features.h"
759
760 #include <ac/assert.h>
761
762 #endif /* _LDAP_PORTABLE_H */