--- ray/src/common/getpath.c 2013/12/19 16:38:12 2.18 +++ ray/src/common/getpath.c 2016/03/06 01:13:17 2.19 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: getpath.c,v 2.18 2013/12/19 16:38:12 greg Exp $"; +static const char RCSid[] = "$Id: getpath.c,v 2.19 2016/03/06 01:13:17 schorsch Exp $"; #endif /* * getpath.c - function to search for file in a list of directories @@ -16,7 +16,7 @@ static const char RCSid[] = "$Id: getpath.c,v 2.18 201 #include "paths.h" -#ifdef _WIN32 +#if defined(_WIN32) || defined(_WIN64) static char * core_getpath /* wrapped below: expand fname, return full path */ #else @@ -82,7 +82,7 @@ getpath /* expand fname, return full path */ } -#ifdef _WIN32 +#if defined(_WIN32) || defined(_WIN64) /* This is a wrapper around the above, "emulating" access mode X_OK, which is not supported on Windows. If we see X_OK and the filename has no extension, then we'll remove