mkstemp not available on win32
Created by: tkelman
I'm trying to work through a set of changes (mostly minor so far) to fix #19 (closed) and build Graphviz with MinGW-w64. In f8f7cbb6 a use of mktemp
was replaced by mkstemp
, apparently to fix a warning, but that function is not available in msvcrt. mktemp
is deprecated but at least it's present - http://msdn.microsoft.com/en-us/library/ms235413.aspx. I believe this issue applies equally to MSVC but I haven't tested that.
There is a BSD-licensed mkstemp
implementation for win32 available here https://github.com/storoj/libimobiledevice-win32/blob/master/libzip/mkstemp.c but I'm not sure how standalone it is.