From: Francesco Montorsi Date: Mon, 21 Jun 2010 23:32:34 +0000 (+0000) Subject: blind buildbot fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ddd4f327f7234d434b5de6938bd338d8677825cd blind buildbot fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/interactive/output.cpp b/tests/interactive/output.cpp index 4c33078b9f..2e7358822c 100644 --- a/tests/interactive/output.cpp +++ b/tests/interactive/output.cpp @@ -22,6 +22,8 @@ #endif #include "wx/app.h" +#include "wx/wxcrt.h" // for wxPuts +#include "wx/wxcrtvararg.h" // for wxPrintf // ---------------------------------------------------------------------------- // conditional compilation @@ -315,6 +317,8 @@ void InteractiveOutputTestCase::TestUserInfo() // stack backtrace // ---------------------------------------------------------------------------- +#if wxUSE_STACKWALKER + #include "wx/stackwalk.h" class StackDump : public wxStackWalker @@ -324,7 +328,7 @@ public: : wxStackWalker(argv0) { } - + virtual void Walk(size_t skip = 1, size_t maxdepth = wxSTACKWALKER_MAX_DEPTH) { wxPuts(wxT("Stack dump:")); @@ -365,16 +369,19 @@ protected: } } }; +#endif void InteractiveOutputTestCase::TestStackWalk() { #ifdef TEST_STACKWALKER +#if wxUSE_STACKWALKER wxPuts(wxT("*** Testing wxStackWalker ***")); - StackDump dump(wxTheApp->argv[0]); + StackDump dump((const char*)wxTheApp->argv[0]); dump.Walk(); wxPuts("\n"); +#endif #endif // TEST_STACKWALKER }