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:
Vadim Zeitlin
2012-04-05 18:40:11 +00:00
parent db414879d4
commit 2415cf6725
65 changed files with 80 additions and 552 deletions

View File

@@ -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