ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/paths.h
(Generate patch)

Comparing ray/src/common/paths.h (file contents):
Revision 2.29 by greg, Mon May 8 16:58:52 2017 UTC vs.
Revision 2.31 by greg, Fri Apr 7 19:06:18 2023 UTC

# Line 23 | Line 23
23    /* The windows _popen with the native shell breaks '\\\n' escapes.
24     * RT_WINPROC (used by SCons) enables our replacement functions to fix that.
25     * XXX This should really not depend on the compiler used! */
26 <  #if defined(_MSC_VER) && !defined(RT_WINPROC)
26 >  #if 1 /* defined(_MSC_VER) && !defined(RT_WINPROC) */
27      #define popen(cmd,mode)     _popen(cmd,mode)
28      #define pclose(p)           _pclose(p)
29    #else
# Line 106 | Line 106
106          #define CURDIR          '.'
107      #define DEFAULT_TEMPDIRS    {"/var/tmp", "/usr/tmp", "/tmp", ".", NULL}
108      #define TEMPLATE            "/tmp/rtXXXXXX"
109 <    #define TEMPLEN             17
109 >    #define TEMPLEN             13
110      #define ULIBVAR             "RAYPATH"
111      #ifndef DEFPATH
112        #define DEFPATH           ":/usr/local/lib/ray"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines