diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
commit | 267c6f2ac71f92999e969232431ba04678e7437e (patch) | |
tree | 358c9467650e1d0a1d7227a21dac2e3d08b622b2 /external/libwpd/libwpd-vs2013.patch.1 | |
parent | Initial commit. (diff) | |
download | libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.tar.xz libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.zip |
Adding upstream version 4:24.2.0.upstream/4%24.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'external/libwpd/libwpd-vs2013.patch.1')
-rw-r--r-- | external/libwpd/libwpd-vs2013.patch.1 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/external/libwpd/libwpd-vs2013.patch.1 b/external/libwpd/libwpd-vs2013.patch.1 new file mode 100644 index 0000000000..224af47321 --- /dev/null +++ b/external/libwpd/libwpd-vs2013.patch.1 @@ -0,0 +1,25 @@ +--- libwpd/src/lib/libwpd_math.h ++++ libwpd/src/lib/libwpd_math.h +@@ -31,9 +31,9 @@ + + #include <math.h> + +-#if defined(_WIN32) && !defined(__MINGW32__) ++#if defined(_MSC_VER) && _MSC_VER < 1800 + double rint(double x); +-#endif /* _WIN32 */ ++#endif /* _MSC_VER < 1800 */ + + #endif /* LIBWPD_MATH_H */ + /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */ +--- libwpd/src/lib/libwpd_math.cpp ++++ libwpd/src/lib/libwpd_math.cpp +@@ -26,7 +26,7 @@ + + #include "libwpd_math.h" + +-#if defined(_WIN32) && !defined(__MINGW32__) ++#if defined(_MSC_VER) && _MSC_VER < 1800 + + double rint(double x) + { |