aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.hh
diff options
context:
space:
mode:
authorClaes Nästén <pekdon@gmail.com>2025-02-19 00:04:06 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-02-19 00:04:06 +0100
commit20ad6f765ed229411bb0b26c3cebcaa03346e739 (patch)
tree9bfdb26153eafc70be46f80b03869bf8733c629a /dw/widget.hh
parent7a595afa37423b99f79efbbbb2241090cb56653a (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/widget.hh')
-rw-r--r--dw/widget.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/widget.hh b/dw/widget.hh
index 8631b9db..3149c87b 100644
--- a/dw/widget.hh
+++ b/dw/widget.hh
@@ -93,7 +93,7 @@ protected:
*
* The dw::Image widget uses this flag, see dw::Image::setBuffer.
*/
- WAS_ALLOCATED = 1 << 6,
+ WAS_ALLOCATED = 1 << 6
};
/**