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/01/12 07:02:55 UTC

[openoffice] branch AOO42X updated: 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 AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 9af770fc7c Windows is missing the round() function, try include <math.h>.
9af770fc7c is described below

commit 9af770fc7cbcf52ab2e090d98c1496c162f9b708
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 {
 
 // ============================================================================