X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/819f6fb9f01650b80f72462bd351be45122ef10e..3c96417a099e8c99e9635a9aba2ce05b8f5572f7:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 2b4a0a274f..035b7e78ae 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -5,7 +5,7 @@ * Modified by: * Created: 29.10.01 (extracted from wx/defs.h) * RCS-ID: $Id$ -* Copyright: (c) 1997-2001 wxWidgets team +* Copyright: (c) 1997-2001 Vadim Zeitlin * Licence: wxWindows licence */ @@ -310,12 +310,13 @@ /* old C++ headers (like ) declare classes in the global namespace - while the new, standard ones (like ) do it in std:: namespace + while the new, standard ones (like ) do it in std:: namespace, + unless it's an old gcc version. using this macro allows constuctions like "wxSTD iostream" to work in either case */ -#if !wxUSE_IOSTREAMH +#if !wxUSE_IOSTREAMH && (!defined(__GNUC__) || ( __GNUC__ > 2 ) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)) # define wxSTD std:: #else # define wxSTD