You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2023/01/12 01:28:34 UTC
[openoffice] branch trunk updated: Windows is missing the round() function, try include .
This is an automated email from the ASF dual-hosted git repository.
damjan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new a2fc620dde Windows is missing the round() function, try include <math.h>.
a2fc620dde is described below
commit a2fc620dde92e6d35133f9ad89c5bd17ae686d7b
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
---
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 {
// ============================================================================