-WE
-tWM
--I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
+-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
#define wxLongLongIsLong
#elif (defined(__VISUALC__) && defined(__WIN32__)) || defined( __VMS__ )
#define wxLongLong_t __int64
+#elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x530)
+ #define wxLongLong_t __int64
#elif defined(__GNUG__)
#define wxLongLong_t long long
#elif defined(__MWERKS__)
#else // no native long long type
// we don't give warnings for the compilers we know about that they don't
// have any 64 bit integer type
- #if !defined(__VISAGECPP__) && !defined(__VISUALC__)
+ #if !defined(__VISAGECPP__) && \
+ !defined(__VISUALC__) && \
+ !defined(__BORLANDC__
#warning "Your compiler does not appear to support 64 bit integers, "\
"using emulation class instead."
#endif // known compilers without long long
#endif // broken strptime()
#ifndef WX_TIMEZONE
- #if defined(__MINGW32__) || defined(__VISAGECPP__)
+ #if defined(__BORLANDC__) || defined(__MINGW32__) || defined(__VISAGECPP__)
#define WX_TIMEZONE _timezone
#else // unknown platform - try timezone
#define WX_TIMEZONE timezone
}
// and now the interesting part: the timezone
- int offset;
+ wxDateTime_t offset;
if ( *p == _T('-') || *p == _T('+') )
{
// the explicit offset given: it has the form of hhmm
if ( !IsFindDataOk(m_finddata) )
{
// open first
- wxString filespec;
- filespec << m_dirname << _T('\\')
- << (!m_filespec ? _T("*.*") : m_filespec.c_str());
+ wxString filespec = m_dirname;
+ if ( !wxEndsWithPathSeparator(filespec) )
+ {
+ filespec += _T('\\');
+ }
+ filespec += (!m_filespec ? _T("*.*") : m_filespec.c_str());
m_finddata = FindFirst(filespec, PTR_TO_FINDDATA);