X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fac3b4232c5a2fa84f11897f4851d0a0e8a17755..f3ff38139d1a9f285f25e5a70cb0f5ad301fd897:/src/common/file.cpp?ds=inline diff --git a/src/common/file.cpp b/src/common/file.cpp index b662a72b34..0973ec9c38 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -88,6 +88,9 @@ #ifndef __MWERKS__ #include // needed for stat #include // stat +#elif ( defined(__MWERKS__) && defined(__WXMSW__) ) + #include // needed for stat + #include // stat #endif #if defined(__BORLANDC__) || defined(_MSC_VER) @@ -473,7 +476,10 @@ bool wxTempFile::Open(const wxString& strName) // OS/2 supports that have them (HPFS, FAT32) and security (HPFS386) static const wxChar *szMktempSuffix = wxT("XXX"); m_strTemp << strName << szMktempSuffix; + // Temporarily remove - MN + #ifndef __WATCOMC__ ::DosCreateDir(m_strTemp.GetWriteBuf(MAX_PATH), NULL); + #endif #else // Windows wxString strPath; wxSplitPath(strName, &strPath, NULL, NULL);