Commit Graph

10 Commits

Author SHA1 Message Date
Václav Slavík
02da4c8b1d Update the version of Expat used to 2.1.1 2016-03-13 17:54:53 +01:00
Vadim Zeitlin
82db53ca1a Expat compilation fix for pre-C99 compilers.
Don't mix statements and declarations, this is not allowed in C89.

Fixes compilation with MSVC <= 10 after 74da7cba07

See #17083.

(this is a backport of 9b029ea88a from master)
2015-07-30 00:59:17 +02:00
Vadim Zeitlin
74da7cba07 Fix arithmetic overflow in the bundled Expat library.
This is a modified version of the patch from Mozilla (see
https://hg.mozilla.org/releases/mozilla-esr31/rev/2f3e78643f5c) which was also
applied to Chromium. This version prefers to use the buffer of the correct
size instead of just returning an out-of-memory error if the size needed is
relatively (but not extraordinarily so, e.g. just slightly more than 64KB in
32 bit builds) big.
2015-07-27 00:45:26 +02:00
Vadim Zeitlin
11a3e7b6da Update the version of Expat used to 2.1.0.
Merge with the latest version, mostly discarding our changes to 1.95.6 as they
seem to be unnecessary any longer, keep just bakefile-specific addition to
configure.

Also update our own makefile to define HAVE_EXPAT_CONFIG_H which is now needed
by Unix build.

Closes #11677.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-07 12:45:30 +00:00
Włodzimierz Skiba
b8af111fa5 wxMGL revitalised with OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 17:00:43 +00:00
Włodzimierz Skiba
8ce8835c06 wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:38:58 +00:00
Vadim Zeitlin
b5172775cf $#include "expat_config.h" instead of <expat_config.h> as the file is in current directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:16:18 +00:00
Chris Elliott
b2247ee93b final part of SF patch #904166 (DMC fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 10:46:59 +00:00
Václav Slavík
876fa7e469 Watcom compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 12:11:35 +00:00
Václav Slavík
5e9f252451 Initial revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 16:22:55 +00:00