/*
*/
/*
* Copyright (C) 2005-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001 Internet Software Consortium.
*
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: port_before.h.in,v 1.31 2008/02/28 05:36:10 marka Exp $ */
#ifndef port_before_h
#define port_before_h
/* Solaris-specific changes */
#include "sunw_port_before.h"
#include <config.h>
#ifdef NEED_SUN4PROTOS
#define _PARAMS(x) x
#endif
struct group; /* silence warning */
struct passwd; /* silence warning */
struct timeval; /* silence warning */
struct timezone; /* silence warning */
#ifdef HAVE_SYS_TIMERS_H
#endif
#include <limits.h>
#ifdef ISC_PLATFORM_NEEDTIMESPEC
#include <time.h> /* For time_t */
struct timespec {
};
#endif
#ifndef HAVE_MEMMOVE
#endif
/* DO_PTHREADS is conditionally defined in sunw_port_before.h
* #define DO_PTHREADS 1 */
#define GETNETBYADDR_ADDR_T long
#define NET_R_END_RETURN void
#define NET_R_SET_RETURN void
#define GROUP_R_SET_RETURN void
#define GROUP_R_END_RETURN void
#define GROUP_R_ENT_ARGS void
#define HOST_R_END_RETURN void
#define HOST_R_SET_RETURN void
#define NGR_R_BAD (0)
#define NGR_R_CONST
#define NGR_R_END_RETURN void
#define NGR_R_RETURN int
#define NGR_R_SET_CONST const
#define NGR_R_SET_RETURN void
#if !defined(NGR_R_SET_ARGS) && defined(NGR_R_END_ARGS)
#endif
#define PROTO_R_END_RETURN void
#define PROTO_R_SET_RETURN void
#define PASS_R_END_RETURN void
#define PASS_R_SET_RETURN void
#define SERV_R_END_RETURN void
#define SERV_R_SET_RETURN void
do { \
union { const void *k; void *v; } _u; \
} while (0)
#define UNUSED(x) (x) = (x)
#ifdef __GNUC__
#else
#endif
/* Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. */
#if defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
#include <sys/byteorder.h>
#endif
#endif
/*! \file */