X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f780dc864273916c30a3986a0de0c3801db0aacf..77c5eefb1f06a8956231d2cbe1526e4de526cac5:/include/wx/string.h diff --git a/include/wx/string.h b/include/wx/string.h index 785ab5892a..474f23d3b6 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -303,9 +303,8 @@ public: char& Last() { wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; } - // Alternatively, we could uncomment one of them for 64bit platforms - // by using #if SIZEOF_INT > 32 -#ifdef __UNIX__ + // 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]; }