--- ray/src/common/paths.h 1992/09/08 10:04:36 2.2 +++ ray/src/common/paths.h 1992/10/09 10:26:17 2.4 @@ -6,8 +6,6 @@ * Definitions for paths on different machines */ -#ifdef NIX - #ifdef MSDOS #define DIRSEP '/' @@ -15,14 +13,15 @@ #define CASEDIRSEP case '/': case '\\' #define PATHSEP ';' #define MAXPATH 128 -#define TEMPLATE "c:/tmp/rtXXXXXX" +#define TEMPLATE "c:\\tmp\\rtXXXXXX" #define TEMPLEN 15 #define ULIBVAR "RAYPATH" -#ifndef DEFPATH -#define DEFPATH ";c:/ray/lib" +#ifndef DEFPATH +#define DEFPATH ";c:/ray/lib" #endif +extern char *fixargv0(); -#endif +#else #ifdef AMIGA #define DIRSEP '/' @@ -31,12 +30,11 @@ #define TEMPLATE "/tmp/rtXXXXXX" #define TEMPLEN 13 #define ULIBVAR "RAYPATH" -#ifndef DEFPATH -#define DEFPATH ";/ray/lib" +#ifndef DEFPATH +#define DEFPATH ";/ray/lib" #endif +#define fixargv0(a0) (a0) -#endif - #else #define DIRSEP '/' @@ -45,10 +43,12 @@ #define TEMPLATE "/tmp/rtXXXXXX" #define TEMPLEN 13 #define ULIBVAR "RAYPATH" -#ifndef DEFPATH -#define DEFPATH ":/usr/local/lib/ray" +#ifndef DEFPATH +#define DEFPATH ":/usr/local/lib/ray" #endif +#define fixargv0(a0) (a0) +#endif #endif #ifndef ISDIRSEP