xref: /illumos-gate/usr/src/lib/libresolv2/include/config.h (revision 9525b14bcdeb5b5f6f95ab27c2f48f18bd2ec829)
1*9525b14bSRao Shoaib /*
2*9525b14bSRao Shoaib  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
3*9525b14bSRao Shoaib  * Use is subject to license terms.
4*9525b14bSRao Shoaib  */
5*9525b14bSRao Shoaib 
6*9525b14bSRao Shoaib 
7*9525b14bSRao Shoaib /* config.h.  Generated from config.h.in by configure.  */
8*9525b14bSRao Shoaib /* #undef _SOCKADDR_LEN */
9*9525b14bSRao Shoaib #define HAVE_FCNTL_H 1
10*9525b14bSRao Shoaib /* #undef HAVE_PATHS_H */
11*9525b14bSRao Shoaib #define HAVE_INTTYPES_H 1
12*9525b14bSRao Shoaib #define HAVE_STROPTS_H 1
13*9525b14bSRao Shoaib /* #undef HAVE_SYS_TIMERS_H */
14*9525b14bSRao Shoaib #define HAVE_SYS_SELECT_H 1
15*9525b14bSRao Shoaib #define HAVE_MEMORY_H 1
16*9525b14bSRao Shoaib /* #undef SYS_CDEFS_H */
17*9525b14bSRao Shoaib #define _POSIX_PTHREAD_SEMANTICS 1
18*9525b14bSRao Shoaib #define POSIX_GETPWUID_R 1
19*9525b14bSRao Shoaib #define POSIX_GETPWNAM_R 1
20*9525b14bSRao Shoaib #define POSIX_GETGRGID_R 1
21*9525b14bSRao Shoaib #define POSIX_GETGRNAM_R 1
22*9525b14bSRao Shoaib #define HAVE_MEMMOVE 1
23*9525b14bSRao Shoaib #define HAVE_MEMCHR 1
24*9525b14bSRao Shoaib /* #undef SPRINTF_CHAR */
25*9525b14bSRao Shoaib /* #undef VSPRINTF_CHAR */
26*9525b14bSRao Shoaib #define USE_SYSERROR_LIST 1
27*9525b14bSRao Shoaib /* #undef NEED_STRTOUL */
28*9525b14bSRao Shoaib /* #undef NEED_SUN4PROTOS */
29*9525b14bSRao Shoaib /* #undef REENABLE_SEND */
30*9525b14bSRao Shoaib 
31*9525b14bSRao Shoaib #define NEED_SETGROUPENT 1
32*9525b14bSRao Shoaib #define NEED_GETGROUPLIST 1
33*9525b14bSRao Shoaib 
34*9525b14bSRao Shoaib /* define if prototype for getgrnam_r() is required */
35*9525b14bSRao Shoaib /* #undef NEED_GETGRNAM_R  */
36*9525b14bSRao Shoaib /* #undef NEED_GETGRGID_R  */
37*9525b14bSRao Shoaib /* #undef NEED_GETGRENT_R  */
38*9525b14bSRao Shoaib #define NEED_SETGRENT_R 1
39*9525b14bSRao Shoaib #define NEED_ENDGRENT_R 1
40*9525b14bSRao Shoaib 
41*9525b14bSRao Shoaib #define NEED_INNETGR_R 1
42*9525b14bSRao Shoaib /* #undef NEED_SETNETGRENT_R */
43*9525b14bSRao Shoaib #define NEED_ENDNETGRENT_R 1
44*9525b14bSRao Shoaib 
45*9525b14bSRao Shoaib /* #undef NEED_GETPWNAM_R */
46*9525b14bSRao Shoaib /* #undef NEED_GETPWUID_R */
47*9525b14bSRao Shoaib #define NEED_SETPWENT_R 1
48*9525b14bSRao Shoaib #define NEED_SETPASSENT_R 1
49*9525b14bSRao Shoaib #define NEED_SETPWENT_R 1
50*9525b14bSRao Shoaib /* #undef NEED_GETPWENT_R */
51*9525b14bSRao Shoaib #define NEED_ENDPWENT_R 1
52*9525b14bSRao Shoaib 
53*9525b14bSRao Shoaib #define NEED_SETPASSENT 1
54*9525b14bSRao Shoaib 
55*9525b14bSRao Shoaib /* #undef HAS_PW_CLASS */
56*9525b14bSRao Shoaib 
57*9525b14bSRao Shoaib /* #undef ssize_t */
58*9525b14bSRao Shoaib /* #undef uintptr_t */
59*9525b14bSRao Shoaib 
60*9525b14bSRao Shoaib /* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
61*9525b14bSRao Shoaib /* #undef SHUTUP_SPUTAUX */
62*9525b14bSRao Shoaib #ifdef SHUTUP_SPUTAUX
63*9525b14bSRao Shoaib struct __sFILE;
64*9525b14bSRao Shoaib extern __inline int __sputaux(int _c, struct __sFILE *_p);
65*9525b14bSRao Shoaib #endif
66*9525b14bSRao Shoaib #define BROKEN_IN6ADDR_INIT_MACROS 1
67*9525b14bSRao Shoaib #define HAVE_STRLCAT 1
68*9525b14bSRao Shoaib /* Shut up warnings about missing braces */
69*9525b14bSRao Shoaib /* #undef SHUTUP_MUTEX_INITIALIZER */
70*9525b14bSRao Shoaib #ifdef SHUTUP_MUTEX_INITIALIZER
71*9525b14bSRao Shoaib #define LIBBIND_MUTEX_INITIALIZER { PTHREAD_MUTEX_INITIALIZER }
72*9525b14bSRao Shoaib #else
73*9525b14bSRao Shoaib #define LIBBIND_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
74*9525b14bSRao Shoaib #endif
75*9525b14bSRao Shoaib 
76