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.3 by greg, Mon Sep 21 12:02:07 1992 UTC

# Line 6 | Line 6
6   * Definitions for paths on different machines
7   */
8  
9 #ifdef NIX
10
9   #ifdef MSDOS
10  
11 < #define DIRSEP          '\\'
11 > #define DIRSEP          '/'
12 > #define ISDIRSEP(c)     ((c)=='/' || (c)=='\\')
13 > #define CASEDIRSEP      case '/': case '\\'
14   #define PATHSEP         ';'
15 + #define MAXPATH         128
16   #define TEMPLATE        "c:\\tmp\\rtXXXXXX"
17   #define TEMPLEN         15
18   #define ULIBVAR         "RAYPATH"
19 < #ifndef DEFPATH
20 < #define DEFPATH         ";\\ray\\lib"
19 > #ifndef DEFPATH
20 > #define DEFPATH         ";c:/ray/lib"
21   #endif
22  
23 < #endif
23 > #else
24   #ifdef AMIGA
25  
26   #define DIRSEP          '/'
27   #define PATHSEP         ';'
28 + #define MAXPATH         128
29   #define TEMPLATE        "/tmp/rtXXXXXX"
30   #define TEMPLEN         13
31   #define ULIBVAR         "RAYPATH"
32 < #ifndef DEFPATH
33 < #define DEFPATH         ";/ray/lib"
32 > #ifndef DEFPATH
33 > #define DEFPATH         ";/ray/lib"
34   #endif
35  
34 #endif
35
36   #else
37  
38   #define DIRSEP          '/'
39   #define PATHSEP         ':'
40 + #define MAXPATH         256
41   #define TEMPLATE        "/tmp/rtXXXXXX"
42   #define TEMPLEN         13
43   #define ULIBVAR         "RAYPATH"
44 < #ifndef DEFPATH
45 < #define DEFPATH         ":/usr/local/lib/ray"
44 > #ifndef DEFPATH
45 > #define DEFPATH         ":/usr/local/lib/ray"
46   #endif
47  
48 + #endif
49 + #endif
50 +
51 + #ifndef ISDIRSEP
52 + #define ISDIRSEP(c)     ((c)==DIRSEP)
53 + #endif
54 + #ifndef CASEDIRSEP
55 + #define CASEDIRSEP      case DIRSEP
56   #endif
57  
58   extern char  *mktemp(), *getenv();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines