1 |
/* Copyright (c) 1992 Regents of the University of California */ |
2 |
|
3 |
/* SCCSid "$SunId$ LBL" */ |
4 |
|
5 |
/* |
6 |
* Definitions for paths on different machines |
7 |
*/ |
8 |
|
9 |
#ifdef NIX |
10 |
|
11 |
#ifdef MSDOS |
12 |
|
13 |
#define DIRSEP '\\' |
14 |
#define PATHSEP ';' |
15 |
#define TEMPLATE "c:\\tmp\\rtXXXXXX" |
16 |
#define TEMPLEN 15 |
17 |
#define ULIBVAR "RAYPATH" |
18 |
#ifndef DEFPATH |
19 |
#define DEFPATH ";\\ray\\lib" |
20 |
#endif |
21 |
|
22 |
#endif |
23 |
#ifdef AMIGA |
24 |
|
25 |
#define DIRSEP '/' |
26 |
#define PATHSEP ';' |
27 |
#define TEMPLATE "/tmp/rtXXXXXX" |
28 |
#define TEMPLEN 13 |
29 |
#define ULIBVAR "RAYPATH" |
30 |
#ifndef DEFPATH |
31 |
#define DEFPATH ";/ray/lib" |
32 |
#endif |
33 |
|
34 |
#endif |
35 |
|
36 |
#else |
37 |
|
38 |
#define DIRSEP '/' |
39 |
#define PATHSEP ':' |
40 |
#define TEMPLATE "/tmp/rtXXXXXX" |
41 |
#define TEMPLEN 13 |
42 |
#define ULIBVAR "RAYPATH" |
43 |
#ifndef DEFPATH |
44 |
#define DEFPATH ":/usr/local/lib/ray" |
45 |
#endif |
46 |
|
47 |
#endif |
48 |
|
49 |
extern char *mktemp(), *getenv(); |