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 |
27 |
|
|
28 |
|
#define DIRSEP '/' |
29 |
|
#define PATHSEP ';' |
30 |
+ |
#define MAXPATH 128 |
31 |
|
#define TEMPLATE "/tmp/rtXXXXXX" |
32 |
|
#define TEMPLEN 13 |
33 |
|
#define ULIBVAR "RAYPATH" |
41 |
|
|
42 |
|
#define DIRSEP '/' |
43 |
|
#define PATHSEP ':' |
44 |
+ |
#define MAXPATH 256 |
45 |
|
#define TEMPLATE "/tmp/rtXXXXXX" |
46 |
|
#define TEMPLEN 13 |
47 |
|
#define ULIBVAR "RAYPATH" |
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(); |