]> git.saurik.com Git - wxWidgets.git/commitdiff
Make wxHTML compile (and work) under CE.
authorRobert Roebling <robert@roebling.de>
Sat, 17 Apr 2004 12:10:43 +0000 (12:10 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 17 Apr 2004 12:10:43 +0000 (12:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlpars.cpp
src/html/m_layout.cpp

index ae752eafbad4a181c2c048f2f9bddd78fe31d845..42101a4c0eb77c35db67b7fa87f71662b0f7b8ee 100644 (file)
@@ -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"
index 2464a5a9cecb7c3640714b43423c05559c5f4bfb..42c72aded6f5b42f7637873bb58e5e8a43c63ef5 100644 (file)
 
 FORCE_LINK_ME(m_layout)
 
-
-#include <stdlib.h> // bsearch()
+#ifdef __WXWINCE__
+    #include "wx/msw/wince/missing.h"       // for bsearch()
+#else
+    #include <stdlib.h>                     // bsearch()
+#endif
 
 //-----------------------------------------------------------------------------
 // wxHtmlPageBreakCell