Cross Reference: sunw_port_before.h
xref
: /
osnet-11
/
usr
/
src
/
lib
/
libresolv2
/
include
/
sunw_port_before.h
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
sunw_port_before.h revision 2
2
N/A
/*
2
N/A
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
2
N/A
* Use is subject to license terms.
2
N/A
*/
2
N/A
2
N/A
#
ifndef
_SUNW_PORT_BEFORE_H
2
N/A
#
define
_SUNW_PORT_BEFORE_H
2
N/A
2
N/A
#
ifdef
SUNW_OPTIONS
2
N/A
#
include
<
conf
/
sunoptions.h
>
2
N/A
#
endif
2
N/A
2
N/A
/* version-specific defines */
2
N/A
#
include
<
os_version.h
>
2
N/A
#
if
(
OS_MAJOR
==
5
&&
OS_MINOR
<
6
)
2
N/A
#
ifndef
SOLARIS_BITTYPES
2
N/A
#
define
NEED_SOLARIS_BITTYPES
1
2
N/A
#
endif
2
N/A
#
endif
2
N/A
2
N/A
#
if
(
OS_MAJOR
==
5
&&
OS_MINOR
<
5
)
2
N/A
#
undef
HAS_PTHREADS
2
N/A
#
else
2
N/A
#
define
HAS_PTHREADS
2
N/A
#
endif
2
N/A
2
N/A
#
if
defined
(
HAS_PTHREADS
) &&
defined
(
_REENTRANT
)
2
N/A
#
define
DO_PTHREADS
2
N/A
#
endif
2
N/A
2
N/A
/*
2
N/A
* need these if we are using public versions of
nameser.h
,
resolv.h
, and
2
N/A
*
inet.h
2
N/A
*/
2
N/A
#
include
<
sys
/
param.h
>
2
N/A
#
if
(!
defined
(
BSD
)) || (
BSD
<
199306
)
2
N/A
#
include
<
sys
/
bitypes.h
>
2
N/A
#
else
2
N/A
#
include
<
sys
/
types.h
>
2
N/A
#
endif
2
N/A
#
include
<
sys
/
cdefs.h
>
2
N/A
2
N/A
#
endif
/* _SUNW_PORT_BEFORE_H */