38# if defined( __SUNPRO_CC ) || defined( __linux__ )
51# if defined( __SUNPRO_CC )
52# ifdef _LARGEFILE_SOURCE
53# undef _LARGEFILE_SOURCE
55# define _LARGEFILE_SOURCE 1
56# ifdef _FILE_OFFSET_BITS
57# undef _FILE_OFFSET_BITS
59# define _FILE_OFFSET_BITS 64
73# include <sys/feature_tests.h>
88# if ( defined( _XOPEN_SOURCE ) && ( _XOPEN_SOURCE - 0 ) >= 500 )
90# define BABAR_socklen_t socklen_t
92# ifdef _XOPEN_SOURCE_EXTENDED
94# define BABAR_socklen_t size_t
97# define BABAR_socklen_t int
103# if defined( __SUNPRO_CC ) && \
104 ( !defined( __EXTENSIONS__ ) && \
105 ( defined( _POSIX_C_SOURCE ) || defined( _XOPEN_SOURCE ) ) )
109extern "C" char* strsignal(
int sig );
119# if defined( __SUNPRO_CC ) && defined( _XOPEN_SOURCE ) && ( _XOPEN_SOURCE - 0 == 500 )
127# if defined( __SUNPRO_CC )
144 template <
class InputIterator,
class T>
145 ptrdiff_t
count( InputIterator first, InputIterator last,
const T& value );
147 template <
class InputIterator,
class Predicate>
148 ptrdiff_t count_if( InputIterator first, InputIterator last, Predicate pred );
150 template <
class InputIterator> ptrdiff_t distance( InputIterator first, InputIterator last );
153# ifdef BABAR_COMP_INST
154# include "BaBar/BaBar.cc"
163typedef int clockid_t;
164# ifndef CLOCK_REALTIME
165# define CLOCK_REALTIME 0
172# define O_LARGEFILE 0
179# if !defined( isfinite )
180extern "C" int isfinite(
double );
182# if !defined( isnan )
183extern "C" int isnan(
double );
188int clock_gettime( clockid_t clock_id,
struct timespec* tp );
DOUBLE_PRECISION count[3]