X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bedaf53eaf4e2a860b34d4ff5e0b1928ce8fa5c9..c0ad3d42d5eb619556a3905df22338360b1f6fcc:/src/common/file.cpp diff --git a/src/common/file.cpp b/src/common/file.cpp index f0209434b2..0973ec9c38 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -28,7 +28,7 @@ #if wxUSE_FILE // standard -#if defined(__WXMSW__) && !defined(__GNUWIN32__) && !defined(__WXWINE__) +#if defined(__WXMSW__) && !defined(__GNUWIN32__) && !defined(__WXWINE__) && !defined(__WXMICROWIN__) #include #ifndef __SALFORDC__ @@ -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);