You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2023/02/08 12:33:16 UTC
[openoffice] 01/03: Windows is missing the round() function, try include .
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit ab427ea754a8899894ca9799ce963ccf2fe65d99
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Thu Jan 12 03:27:35 2023 +0200
Windows is missing the round() function, try include <math.h>.
Patch by: me
(cherry picked from commit a2fc620dde92e6d35133f9ad89c5bd17ae686d7b)
---
main/oox/source/helper/datetimehelper.cxx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/main/oox/source/helper/datetimehelper.cxx b/main/oox/source/helper/datetimehelper.cxx
index cf44aaa24a..f36c724062 100644
--- a/main/oox/source/helper/datetimehelper.cxx
+++ b/main/oox/source/helper/datetimehelper.cxx
@@ -21,6 +21,8 @@
#include "oox/helper/datetimehelper.hxx"
+#include <math.h>
+
namespace oox {
// ============================================================================