// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+/*
+ TODO: remove all the WinCE ugliness from here, implement the wxOpen(),
+ wxSeek(), ... functions in a separate file for WinCE instead!!!
+ */
+
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#elif defined(__WXMSW__) && defined(__WXWINCE__)
// TODO: what to include?
+#elif (defined(__OS2__))
+ #include <io.h>
#elif (defined(__UNIX__) || defined(__GNUWIN32__))
#include <unistd.h>
#include <time.h>
#else
#error "Please specify the header with file functions declarations."
#endif
-#elif (defined(__WXPM__))
- #include <io.h>
#elif (defined(__WXSTUBS__))
// Have to ifdef this for different environments
#include <io.h>
if ( chmod( (const char*) m_strTemp.fn_str(), mode) == -1 )
{
+#ifndef __OS2__
wxLogSysError(_("Failed to set temporary file permissions"));
+#endif
}
#endif // Unix