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

Comparing ray/src/common/paths.h (file contents):
Revision 2.21 by greg, Sat Oct 30 04:59:41 2004 UTC vs.
Revision 2.23 by greg, Wed Oct 5 17:20:55 2011 UTC

# Line 14 | Line 14
14  
15   #ifdef _WIN32
16    #include <io.h>
17 <  #include <direct.h> /* getcwd(), chdir(), etc. */
17 >  #include <direct.h> /* getcwd(), chdir(), _mkdir(), etc. */
18  
19    #define access _access
20 +  #define mkdir(dirname,perms) _mkdir(dirname)
21    #define PATH_MAX _MAX_PATH
22    #define NULL_DEVICE   "NUL"
23    #define DIRSEP                '/'
# Line 40 | Line 41
41    /* <io.h> only does half the work for access() */
42    #ifndef F_OK
43      #define  F_OK 00
43    #define  X_OK 01
44      #define  W_OK 02
45 <    #define  R_OK 04
45 >  #endif
46 >  #ifndef R_OK
47 >    #define X_OK 01
48 >    #define R_OK 04
49    #endif
50    /* to make the permissions user specific we'd need to use CreateFile() */
51    #ifndef S_IRUSR

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines