From 7127d12912341510250bfcf4921ab744faf775e0 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 17 Apr 2004 12:10:43 +0000 Subject: [PATCH] Make wxHTML compile (and work) under CE. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlpars.cpp | 3 +++ src/html/m_layout.cpp | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index ae752eafba..42101a4c0e 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -35,6 +35,9 @@ #include "wx/dynarray.h" #include "wx/arrimpl.cpp" +#ifdef __WXWINCE__ + #include "wx/msw/wince/missing.h" // for bsearch() +#endif // DLL options compatibility check: #include "wx/app.h" diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 2464a5a9ce..42c72aded6 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -30,8 +30,11 @@ FORCE_LINK_ME(m_layout) - -#include // bsearch() +#ifdef __WXWINCE__ + #include "wx/msw/wince/missing.h" // for bsearch() +#else + #include // bsearch() +#endif //----------------------------------------------------------------------------- // wxHtmlPageBreakCell