ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/devcomm.c
(Generate patch)

Comparing ray/src/rt/devcomm.c (file contents):
Revision 2.17 by greg, Tue Jul 8 18:25:00 2014 UTC vs.
Revision 2.18 by schorsch, Sun Mar 6 01:13:17 2016 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10   #include "copyright.h"
11  
12   #include <sys/types.h>
13 < #ifndef _WIN32
13 > #if !defined(_WIN32) && !defined(_WIN64)
14   #include <sys/wait.h>
15   #endif
16  
# Line 147 | Line 147 | comm_close(void)                       /* done with driver */
147          fclose(devin);
148          if (devchild < 0)
149                  return;
150 < #ifndef _WIN32
150 > #if !defined(_WIN32) && !defined(_WIN64)
151          while ((pid = wait(0)) != -1 && pid != devchild)
152                  ;
153   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines