From 9060bf2b23f86be8eaecbdc90262a8d1c0e7b374 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Feb 2013 19:26:54 +0000 Subject: compilation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@3809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_system_cpp.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h index 2cb5a5af5e..600eefe01f 100644 --- a/include/m_system_cpp.h +++ b/include/m_system_cpp.h @@ -27,14 +27,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "m_system.h" -#if defined(_UNICODE) - #define tstring wstring -#else - #define tstring string -#endif - #if defined(__cplusplus) +#if defined(_STRING_) +namespace std +{ + typedef basic_string, allocator > tstring; +} +#endif + /////////////////////////////////////////////////////////////////////////////// // mir_ptr - automatic pointer for buffers, allocated using mir_alloc/mir_calloc -- cgit v1.2.3