Remove remaining MSDOS support code

The remaining DOS source files where already removed in
26a0a24f38. This removes the remaining __DOS__
and __DJGPP__ (the DOS gcc) code paths.

Closes https://github.com/wxWidgets/wxWidgets/pull/100
This commit is contained in:
Tobias Taschner
2015-09-23 10:00:48 +02:00
committed by Vadim Zeitlin
parent 854fce33a7
commit 2eccc1a57d
16 changed files with 33 additions and 111 deletions

View File

@@ -118,10 +118,6 @@
#include <unistd.h>
#endif
#ifdef __DJGPP__
#include <unistd.h>
#endif
#ifndef S_ISREG
#define S_ISREG(mode) ((mode) & S_IFREG)
#endif
@@ -1000,11 +996,9 @@ static wxString wxCreateTempImpl(
{
path = wxConvFile.cMB2WX( (const char*) buf );
}
#else // !HAVE_MKTEMP (includes __DOS__)
#else // !HAVE_MKTEMP
// generate the unique file name ourselves
#if !defined(__DOS__)
path << (unsigned int)getpid();
#endif
wxString pathTry;
@@ -2280,7 +2274,7 @@ wxPathFormat wxFileName::GetFormat( wxPathFormat format )
{
if (format == wxPATH_NATIVE)
{
#if defined(__WINDOWS__) || defined(__DOS__)
#if defined(__WINDOWS__)
format = wxPATH_DOS;
#elif defined(__VMS)
format = wxPATH_VMS;