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.1 by greg, Tue Sep 8 09:08:02 1992 UTC vs.
Revision 2.2 by greg, Tue Sep 8 10:04:36 1992 UTC

# Line 10 | Line 10
10  
11   #ifdef MSDOS
12  
13 < #define DIRSEP          '\\'
13 > #define DIRSEP          '/'
14 > #define ISDIRSEP(c)     ((c)=='/' || (c)=='\\')
15 > #define CASEDIRSEP      case '/': case '\\'
16   #define PATHSEP         ';'
17 < #define TEMPLATE        "c:\\tmp\\rtXXXXXX"
17 > #define MAXPATH         128
18 > #define TEMPLATE        "c:/tmp/rtXXXXXX"
19   #define TEMPLEN         15
20   #define ULIBVAR         "RAYPATH"
21   #ifndef DEFPATH
22 < #define DEFPATH         ";\\ray\\lib"
22 > #define DEFPATH         ";c:/ray/lib"
23   #endif
24  
25   #endif
# Line 24 | Line 27
27  
28   #define DIRSEP          '/'
29   #define PATHSEP         ';'
30 + #define MAXPATH         128
31   #define TEMPLATE        "/tmp/rtXXXXXX"
32   #define TEMPLEN         13
33   #define ULIBVAR         "RAYPATH"
# Line 37 | Line 41
41  
42   #define DIRSEP          '/'
43   #define PATHSEP         ':'
44 + #define MAXPATH         256
45   #define TEMPLATE        "/tmp/rtXXXXXX"
46   #define TEMPLEN         13
47   #define ULIBVAR         "RAYPATH"
# Line 44 | Line 49
49   #define DEFPATH         ":/usr/local/lib/ray"
50   #endif
51  
52 + #endif
53 +
54 + #ifndef ISDIRSEP
55 + #define ISDIRSEP(c)     ((c)==DIRSEP)
56 + #endif
57 + #ifndef CASEDIRSEP
58 + #define CASEDIRSEP      case DIRSEP
59   #endif
60  
61   extern char  *mktemp(), *getenv();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines