|
From: <wsh...@us...> - 2003-08-26 00:41:33
|
Update of /cvsroot/emc/rcslib/src/cms
In directory sc8-pr-cvs1:/tmp/cvs-serv5009
Added Files:
Tag: wps_multiplat_dev_branch
recvmsgt_no_config.h sendmsgt_no_config.h
Log Message:
.
--- NEW FILE: recvmsgt_no_config.h ---
#ifndef RECVMSGT_NO_CONFIG_H
#define RECVMSGT_NO_CONFIG_H
/* This is neccessary to avoid muliple definitions of fd_set, etc when both
* RPC via PCNFS and Windows Sockets are to be available. */
#ifdef USE_PCNFS
#undef USE_PCNFS
#endif
#include "rcs_defs.hh" /* MSDOS, _Windows */
#if !defined(_Windows) || defined(USE_PCNFS) || defined(gnuwin32)
#ifdef MSDOS
#include <tklib.h>
#else
#include <sys/types.h> /* u_char etc needed by sys/socket.h */
/* fd_set, FD_ZERO, FD_SET */
#include <sys/socket.h> /* stuct msghdr, sendmsg() */
#ifndef VXWORKS
#include <sys/time.h> /* struct timeval */
#else
#include <sys/times.h> /* struct timeval */
#include <sockLib.h> /* recvmsg() */
#endif
#ifndef _Windows
#include <unistd.h> /* select() */
#endif
#endif
#else
#ifdef USE_OLD_WINSOCK
#include <windows.h>
#include <winsock.h> /* select(), typedef fd_set, FD_ZERO, FD_SET, struct */
#else
#include <winsock2.h>
#endif
#endif
#ifndef irix6
#include <math.h> /* fmod() */
#else
/*
Work around for the conflict between the gcc includes and /usr/includes
on some of our SGI's regarding the definition of initstate()
*/
extern double fmod (double, double);
#endif
#include <errno.h> /* errno variable */
#include <string.h> /* strerror() */
#include <stdlib.h> /* malloc(), free() */
#endif
// RECVMSGT_NO_CONFIG_H
--- NEW FILE: sendmsgt_no_config.h ---
#ifndef SENDMSGT_NO_CONFIG_H
#define SENDMSGT_NO_CONFIG_H
#include "rcs_defs.hh" /* MSDOS, _Windows */
/* This is neccessary to avoid muliple definitions of fd_set, etc when both
* RPC via PCNFS and Windows Sockets are to be available. */
#ifdef USE_PCNFS
#undef USE_PCNFS
#endif
#include <sys/types.h> /* u_char etc needed by sys/socket.h */
/* fd_set, FD_ZERO, FD_SET */
#if !defined(DOS_WINDOWS) || defined(gnuwin32)
#include <sys/socket.h> /* stuct msghdr, sendmsg() */
#ifndef VXWORKS
#include <sys/time.h> /* struct timeval */
#else
#include <sys/times.h> /* struct timeval */
#include <sockLib.h> /* sendmsg() */
#endif
#ifndef _Windows
#include <unistd.h> /* select() */
#endif
#else
#if defined(MSDOS) && !defined(WINDOWS)
#include <tklib.h>
#include <sys/socket.h> /* stuct msghdr, sendmsg() */
#include <sys/uio.h> /* stuct iovec */
#else
#ifdef USE_OLD_WINSOCK
#include <winsock.h> /* select(), typedef fd_set, FD_ZERO, FD_SET, struct */
#else
#include <winsock2.h>
#endif
#endif
#endif
#ifndef irix6
#include <math.h> /* fmod() */
#else
/*
Work around for the conflict between the gcc includes and /usr/includes
on some of our SGI's regarding the definition of initstate()
*/
extern double fmod (double, double);
#endif
#include <errno.h> /* errno variable */
#include <string.h> /* strerror() */
#include <stdlib.h> /* DEBUG_MALLOC(), free() */
#endif
// SENDMSGT_NO_CONFIG_H
|