| 6 |
|
* Definitions for paths on different machines |
| 7 |
|
*/ |
| 8 |
|
|
| 9 |
– |
#ifdef NIX |
| 10 |
– |
|
| 9 |
|
#ifdef MSDOS |
| 10 |
|
|
| 11 |
|
#define DIRSEP '/' |
| 13 |
|
#define CASEDIRSEP case '/': case '\\' |
| 14 |
|
#define PATHSEP ';' |
| 15 |
|
#define MAXPATH 128 |
| 16 |
< |
#define TEMPLATE "c:/tmp/rtXXXXXX" |
| 16 |
> |
#define TEMPLATE "c:\\tmp\\rtXXXXXX" |
| 17 |
|
#define TEMPLEN 15 |
| 18 |
|
#define ULIBVAR "RAYPATH" |
| 19 |
< |
#ifndef DEFPATH |
| 20 |
< |
#define DEFPATH ";c:/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 '/' |
| 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 |
|
|
| 38 |
– |
#endif |
| 39 |
– |
|
| 36 |
|
#else |
| 37 |
|
|
| 38 |
|
#define DIRSEP '/' |
| 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 |