--- ray/src/common/selcall.h 1997/10/28 18:14:58 3.2 +++ ray/src/common/selcall.h 2003/06/27 06:53:22 3.8 @@ -1,19 +1,28 @@ -/* Copyright (c) 1997 Silicon Graphics, Inc. */ - -/* SCCSid "$SunId$ SGI" */ - +/* RCSid $Id: selcall.h,v 3.8 2003/06/27 06:53:22 greg Exp $ */ /* * header file for select call compatibility */ +#ifndef _RAD_SELCALL_H_ +#define _RAD_SELCALL_H_ +#ifdef __cplusplus +extern "C" { +#endif #include -#include +#ifdef _WIN32 + /*#include */ +#else + #include +#endif #ifdef INCL_SEL_H #include #endif #ifndef FD_SETSIZE -#include +#ifdef _WIN32 +#else + #include +#endif #define FD_SETSIZE NOFILE /* maximum # select file descriptors */ #endif #ifndef FD_SET @@ -28,3 +37,10 @@ #else #define FD_ZERO(p) memset((char *)(p), 0, sizeof(*(p))) #endif +#endif + + +#ifdef __cplusplus +} +#endif +#endif /* _RAD_SELCALL_H_ */