Fix compile bug in ptree.cpp with wxWidgets 2.9.x and MinGW.

This commit is contained in:
Wayne Stambaugh 2013-04-08 20:16:53 -04:00
parent 6bf3d7cdc3
commit 477069c063
1 changed files with 4 additions and 1 deletions

View File

@ -23,10 +23,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
// Something in either <boost/property_tree/ptree.hpp> causes a bunch of compiler
// errors in <wx/msw/winundef.h> version 2.9 on MinGW.
#include <macros.h>
#include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ptree.hpp>
#include <assert.h> #include <assert.h>
#include <macros.h>
#include <ptree.h> #include <ptree.h>
typedef PTREE::const_iterator CITER; typedef PTREE::const_iterator CITER;