/* * * (c) Copyright 1989 OPEN SOFTWARE FOUNDATION, INC. * (c) Copyright 1989 HEWLETT-PACKARD COMPANY * (c) Copyright 1989 DIGITAL EQUIPMENT CORPORATION * To anyone who acknowledges that this file is provided "AS IS" * without any express or implied warranty: * permission to use, copy, modify, and distribute this * file for any purpose is hereby granted without fee, provided that * the above copyright notices and this notice appears in all source * code copies, and that none of the names of Open Software * Foundation, Inc., Hewlett-Packard Company, or Digital Equipment * Corporation be used in advertising or publicity pertaining to * distribution of the software without specific, written prior * permission. Neither Open Software Foundation, Inc., Hewlett- * Packard Company, nor Digital Equipment Corporation makes any * representations about the suitability of this software for any * purpose. * */ /* */ /* ** ** NAME: ** ** solaris/sysconf.h ** ** FACILITY: ** ** Remote Procedure Call (RPC) ** ** ABSTRACT: ** ** This file contains all definitions specific to the Linux platform ** ** */ #ifndef _SYSCONF_H #define _SYSCONF_H 1 /******************************************************************************/ #define DCETHREAD_USE_THROW #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* * * IMPORTANT ORDER DEPENDENCY: * * The include files above do #ifdefs on * _POSIX_REENTRANT_FUNCTIONS. Under OSF/1, this * is set in . The problem is that for * the OSF/1 DCE reference port, we need to build * with vanilla CMA threads and no help from the * kernel. * * Therefore, the include of must come * after the files above. * * You have been warned. * */ #include #include #include #include /*#define NO_VOID_STAR 1*/ /* void * is supported in GCC -ansi mode*/ #define USE_PROTOTYPES 1 #define STDARG_PRINTF 1 #define NO_VARARGS_PRINTF 1 /* if SOCKADDR_LEN isn't defined MSG_MAXIOVLEN will not be defined in * */ #ifndef MSG_MAXIOVLEN #define MSG_MAXIOVLEN UIO_MAXIOV #endif /* MSG_MAXIOVLEN */ /**************************************************************************/ /* * This definition means the ioctl() call to get the interface * addresses in ipnaf_bsd.c in enumerate_interfaces() will not be * called. This is because Ultrix returns the same internet address * for all interfaces. */ #define NO_SIOCGIFADDR 1 /* * Define protocol sequences that are always available on * OSF/1 platforms */ #ifndef PROT_NCACN #define PROT_NCACN 1 #endif #ifndef PROT_NCADG #define PROT_NCADG 1 #endif #ifndef NAF_IP #define NAF_IP 1 #endif #define RPC_DEFAULT_NLSPATH "/usr/lib/nls/msg/en_US.ISO8859-1/%s.cat" #define RPC_C_PATH_NP_MAX 108 /****************************************************************************/ /* define some macros to support atfork handler */ #define ATFORK_SUPPORTED #define ATFORK(handler) rpc__atfork(handler) extern void rpc__cma_atfork _DCE_PROTOTYPE_((void *)); /****************************************************************************/ /* Define BSD_4_4_SOCKET if we are using XPG5 */ #if _XOPEN_SOURCE >= 500 #define BSD_4_4_SOCKET 1 #endif #endif /* _SYSCONF_H */