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

Comparing ray/src/common/myhostname.c (file contents):
Revision 2.6 by schorsch, Tue Oct 21 02:02:31 2003 UTC vs.
Revision 2.7 by schorsch, Mon Oct 27 10:19:31 2003 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   #include "copyright.h"
9  
10   #ifdef _WIN32
11 <  #include <winsock.h>
11 >  #include <winsock2.h>
12   #else
13    #include <unistd.h>
14   #endif
15  
16   #include "rtmisc.h"
17  
18 < char *
18 > extern char *
19   myhostname()
20   {
21          static char     hostname[65];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines