diff options
author | Claes Nästén <pekdon@gmail.com> | 2025-02-19 00:04:06 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-02-19 00:04:06 +0100 |
commit | 20ad6f765ed229411bb0b26c3cebcaa03346e739 (patch) | |
tree | 9bfdb26153eafc70be46f80b03869bf8733c629a /dw/types.hh | |
parent | 7a595afa37423b99f79efbbbb2241090cb56653a (diff) |
Fix build on Solaris 10 and old gcc 4.0.1
Remove extra semicolons and commas, as well as isinf() so it builds and
runs on Solaris 10.
Also add extra fixes for non C++11 courtesy of Sevan Janiyan, making
Dillo compile and run on OS X 10.4 PowerPC with GCC 4.0.1 and 8.5.
Co-authored-by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'dw/types.hh')
-rw-r--r-- | dw/types.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/types.hh b/dw/types.hh index bfe7ce89..36910d10 100644 --- a/dw/types.hh +++ b/dw/types.hh @@ -224,7 +224,7 @@ struct Content ALL = 0xff, REAL_CONTENT = 0xff ^ (START | END), SELECTION_CONTENT = TEXT | BREAK, // WIDGET_* must be set additionally - ANY_WIDGET = WIDGET_IN_FLOW | WIDGET_OOF_CONT | WIDGET_OOF_REF, + ANY_WIDGET = WIDGET_IN_FLOW | WIDGET_OOF_CONT | WIDGET_OOF_REF }; /* Content is embedded in struct Word therefore we |