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.19 by schorsch, Mon Jul 14 22:23:59 2003 UTC vs.
Revision 2.22 by schorsch, Mon Sep 19 11:30:10 2005 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                '/'
24    #define ISDIRSEP(c)   ((c)=='/' || (c)=='\\')
25    #define ISABS(s)      ((s)!=NULL \
# Line 71 | Line 73
73  
74    #ifdef AMIGA
75  
76 +        #define NULL_DEVICE     "NIL:"
77      #define DIRSEP              '/'
78      #define ISABS(s) ((s)!=NULL && (ISDIRSEP(s[0])))
79      #define PATHSEP             ';'
# Line 95 | Line 98
98      #define PATHSEP             ':'
99          #define CURDIR          '.'
100      #define DEFAULT_TEMPDIRS {"/var/tmp", "/usr/tmp", "/tmp", ".", NULL}
101 <    #define TEMPLATE    "/usr/tmp/rtXXXXXX"
101 >    #define TEMPLATE    "/tmp/rtXXXXXX"
102      #define TEMPLEN             17
103      #define ULIBVAR             "RAYPATH"
104      #ifndef DEFPATH

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines