Another try to detect alpha systems and fix string.h for it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1998-12-01 15:51:49 +00:00
parent ec758a20a2
commit e0e680d2e3
3 changed files with 94 additions and 79 deletions

View File

@@ -303,8 +303,8 @@ public:
char& Last()
{ wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; }
// on 64bit systems, this gives overload problems:
#if SIZEOF_INT <= 4
// on alpha-linux this gives overload problems:
#if ! defined(__ALPHA__)
/// operator version of GetChar
char operator[](size_t n) const
{ ASSERT_VALID_INDEX( n ); return m_pchData[n]; }