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/xembed.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/xembed.cc')
-rw-r--r-- | src/xembed.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xembed.cc b/src/xembed.cc index eee40e2a..fb623f1d 100644 --- a/src/xembed.cc +++ b/src/xembed.cc @@ -149,10 +149,10 @@ void Xembed::createInternal(uint32_t parent) { #else // X_PROTOCOL void -Xembed::setXembedInfo(unsigned long flags) {}; +Xembed::setXembedInfo(unsigned long flags) {} void -Xembed::sendXembedEvent(uint32_t message) {}; +Xembed::sendXembedEvent(uint32_t message) {} int Xembed::handle(int e) { |