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