> Rob,
> 
> same idea but this time for tempname.C. It appears from the 
> docs that we 
> just need a few underscores. Does the attached patch enable 
> you to compile?
> 
> mktemp:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/vclib/html/_crt__mktemp.2c_._wmktemp.asp
> Equivalent URL: http://tinyurl.com/dkfhf
> 
> open:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/vclib/html/_crt__open.2c_._wopen.asp
> Equivalent URL: http://tinyurl.com/bq9jf
> 
> getpid:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/vclib/html/_crt__getpid.asp
> Equivalent URL: http://tinyurl.com/acqxx
> 
> close:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/vclib/html/_crt__close.asp
> Equivalent URL: http://tinyurl.com/9nwlr
> 
> -- 
> Angus
> 

Almost. Trivially, the "#if[n]def (_WIN32)" should be "#if[n]def _WIN32"
or the other variety that accepts parens. Second, my config.h has
HAVE_MKTEMP defined, so that leaves the problem of S_IRUSR and S_IWUSR
not being defined (assuming you prepend the underscores on the APIs.

Rob

Reply via email to