#if VMS, don't define `stat' macro to be VMS_stat. Compare enums explicitly to 0 to work around VAX C bug. From-SVN: r9660