applied patch for compilation with gcc 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -55,6 +55,17 @@
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
// old C++ headers (like <iostream.h>) declare classes in the global namespace
|
||||
// while the new, standard ones (like <iostream>) do it in std:: namespace
|
||||
//
|
||||
// using this macro allows constuctions like "wxSTD iostream" to work in
|
||||
// either case
|
||||
#if !wxUSE_IOSTREAMH
|
||||
#define wxSTD std::
|
||||
#else
|
||||
#define wxSTD
|
||||
#endif
|
||||
|
||||
// just in case they were defined in setup.h
|
||||
#ifdef PACKAGE
|
||||
#undef PACKAGE
|
||||
|
Reference in New Issue
Block a user