]> git.saurik.com Git - wxWidgets.git/commitdiff
pid removed from temp file name
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 4 Jul 2003 19:54:31 +0000 (19:54 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 4 Jul 2003 19:54:31 +0000 (19:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index 77d2f2fcab436552b418c1f4e383d142e120925a..e53a24eafe35fc42f11e99695ba411d21a1678e6 100644 (file)
@@ -694,7 +694,7 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
     }
 #else // !HAVE_MKTEMP (includes __DOS__)
     // generate the unique file name ourselves
-    #ifndef __DOS__
+    #if !defined(__DOS__) && (!defined(__MWERKS__) || defined(__DARWIN__) )
     path << (unsigned int)getpid();
     #endif