38#if defined(__SUNPRO_CC) || defined(__linux__)
52#if defined(__SUNPRO_CC)
53#ifdef _LARGEFILE_SOURCE
54#undef _LARGEFILE_SOURCE
56#define _LARGEFILE_SOURCE 1
57#ifdef _FILE_OFFSET_BITS
58#undef _FILE_OFFSET_BITS
60#define _FILE_OFFSET_BITS 64
75 #include <sys/feature_tests.h>
91#if ( defined(_XOPEN_SOURCE) && ( _XOPEN_SOURCE - 0 ) >= 500 )
93 #define BABAR_socklen_t socklen_t
95 #ifdef _XOPEN_SOURCE_EXTENDED
97 #define BABAR_socklen_t size_t
100 #define BABAR_socklen_t int
106#if defined(__SUNPRO_CC) && \
107 ( !defined(__EXTENSIONS__) && \
108 ( defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) ) )
112extern "C" char* strsignal(
int sig );
122#if defined(__SUNPRO_CC) && defined(_XOPEN_SOURCE) && ( _XOPEN_SOURCE - 0 ==500 )
131#if defined(__SUNPRO_CC)
149 template <
class InputIterator,
class T>
151 count (InputIterator first, InputIterator last,
const T& value);
153 template <
class InputIterator,
class Predicate>
155 count_if (InputIterator first, InputIterator last, Predicate pred);
157 template <
class InputIterator>
159 distance (InputIterator first, InputIterator last);
162#ifdef BABAR_COMP_INST
163#include "BaBar/BaBar.cc"
173typedef int clockid_t;
174#ifndef CLOCK_REALTIME
175#define CLOCK_REALTIME 0
189#if !defined(isfinite)
190extern "C" int isfinite(
double);
193extern "C" int isnan(
double);
198int clock_gettime ( clockid_t clock_id,
struct timespec *tp);
DOUBLE_PRECISION count[3]