pid removed from temp file name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0ff5799aca
commit
e0ebbbd9e9
@ -694,7 +694,7 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
|
|||||||
}
|
}
|
||||||
#else // !HAVE_MKTEMP (includes __DOS__)
|
#else // !HAVE_MKTEMP (includes __DOS__)
|
||||||
// generate the unique file name ourselves
|
// generate the unique file name ourselves
|
||||||
#ifndef __DOS__
|
#if !defined(__DOS__) && (!defined(__MWERKS__) || defined(__DARWIN__) )
|
||||||
path << (unsigned int)getpid();
|
path << (unsigned int)getpid();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user