ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/selcall.h
(Generate patch)

Comparing ray/src/common/selcall.h (file contents):
Revision 3.9 by schorsch, Mon Jun 30 14:59:11 2003 UTC vs.
Revision 3.11 by schorsch, Sun Mar 6 01:13:17 2016 UTC

# Line 4 | Line 4
4   */
5   #ifndef _RAD_SELCALL_H_
6   #define _RAD_SELCALL_H_
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
7  
8   #include <string.h>
9   #include <sys/types.h>
10 < #ifdef _WIN32
10 > #if defined(_WIN32) || defined(_WIN64)
11    /*#include <winsock2.h>*/
12   #else
13    #include <sys/time.h>
# Line 20 | Line 17 | extern "C" {
17   #endif
18  
19   #ifndef FD_SETSIZE
20 < #ifdef _WIN32
20 > #if defined(_WIN32) || defined(_WIN64)
21   #else
22    #include <sys/param.h>
23   #endif
# Line 36 | Line 33 | extern "C" {
33   #define FD_ZERO(p)      memset((char *)(p), 0, sizeof(*(p)))
34   #endif
35  
36 + #ifdef __cplusplus
37 + extern "C" {
38 + #endif
39 +
40 + /* nothing yet */
41  
42   #ifdef __cplusplus
43   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines