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:
@@ -48,11 +48,6 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__MWERKS__) && defined(__WINDOWS__)
|
||||
# undef HAVE_FTIME
|
||||
# undef HAVE_GETTIMEOFDAY
|
||||
#endif
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
#include <time.h>
|
||||
#else
|
||||
@@ -72,10 +67,6 @@
|
||||
#include <sys/timeb.h>
|
||||
#endif
|
||||
|
||||
#if defined(__MWERKS__) && wxUSE_UNICODE
|
||||
#include <wtime.h>
|
||||
#endif
|
||||
|
||||
#if defined(__DJGPP__) || defined(__WINE__)
|
||||
#include <sys/timeb.h>
|
||||
#include <values.h>
|
||||
@@ -223,10 +214,6 @@ int wxGetTimeZone()
|
||||
return WX_TIMEZONE;
|
||||
#elif defined(__BORLANDC__) || defined(__MINGW32__) || defined(__VISAGECPP__)
|
||||
return _timezone;
|
||||
#elif defined(__MWERKS__)
|
||||
// This is just plain wrong but apparently MetroWerks runtime didn't have
|
||||
// any way to get the time zone.
|
||||
return 28800;
|
||||
#else // unknown platform -- assume it has timezone
|
||||
return timezone;
|
||||
#endif // different time zone variables
|
||||
|
||||
Reference in New Issue
Block a user