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 /src/cssparser.cc | |
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 'src/cssparser.cc')
-rw-r--r-- | src/cssparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc index 071f519f..065eb624 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -294,7 +294,7 @@ typedef struct { * determined by the type */ CSS_SHORTHAND_DIRECTIONS, /**< <t>{1,4} */ CSS_SHORTHAND_BORDER, /**< special, used for 'border' */ - CSS_SHORTHAND_FONT, /**< special, used for 'font' */ + CSS_SHORTHAND_FONT /**< special, used for 'font' */ } type; const CssPropertyName *properties; /* CSS_SHORTHAND_MULTIPLE: * must be terminated by |