Remove support for MetroWerks CodeWarrior compiler.
This compiler doesn't exist any more and was probably unsupported even in 2.8, let alone 2.9, so remove all the __MWERKS__ tests to simplify things. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
http://msdn.microsoft.com/en-us/library/aa365248(VS.85).aspx.
|
||||
|
||||
|
||||
wxPATH_MAC: Mac OS 8/9 and Mac OS X under CodeWarrior 7 format, absolute file
|
||||
wxPATH_MAC: Mac OS 8/9 only, not used any longer, absolute file
|
||||
names have the form
|
||||
volume:dir1:...:dirN:filename
|
||||
and the relative file names are either
|
||||
@@ -118,19 +118,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __MWERKS__
|
||||
#ifdef __MACH__
|
||||
#include <sys/types.h>
|
||||
#include <utime.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <stat.h>
|
||||
#include <unistd.h>
|
||||
#include <unix.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __WATCOMC__
|
||||
#include <io.h>
|
||||
#include <sys/utime.h>
|
||||
@@ -1001,7 +988,7 @@ static wxString wxCreateTempImpl(
|
||||
}
|
||||
#else // !HAVE_MKTEMP (includes __DOS__)
|
||||
// generate the unique file name ourselves
|
||||
#if !defined(__DOS__) && (!defined(__MWERKS__) || defined(__DARWIN__) )
|
||||
#if !defined(__DOS__)
|
||||
path << (unsigned int)getpid();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user