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

Comparing ray/src/common/ezxml.c (file contents):
Revision 2.2 by greg, Wed Jun 1 00:29:40 2011 UTC vs.
Revision 2.3 by greg, Thu Jun 9 17:09:39 2011 UTC

# Line 38 | Line 38 | static const char RCSid[] = "$Id$";
38   #include <sys/stat.h>
39   #include "ezxml.h"
40  
41 + #ifdef _WIN32
42 + #include <io.h>
43 + #define snprintf        printf_s
44 + #define read            _read
45 + #define open            _open
46 + #define close           _close  
47 + #endif
48 +
49   #define EZXML_WS   "\t\r\n "  /* whitespace */
50   #define EZXML_ERRL 128        /* maximum error string length */
51  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines