On 21/12/11 16:16, Caolán McNamara wrote:
sot/Library_sot.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 56c0d3b569ba62eafe94f79299e5afb83f2f891b
Author: Caolán McNamara <caolanm@redhat.com>
Date: Wed Dec 21 15:16:26 2011 +0000
disable min as macro under msvc
wonder if it would make sense to define NOMINMAX globally in windows.mk
(presumably MinGW also carries this disease for compatibility?), should
be easier than finding out which libraries use std::min etc. by hand and
less clutter?
diff --git a/sot/Library_sot.mk b/sot/Library_sot.mk
index cc5271d..1c008a1 100644
--- a/sot/Library_sot.mk
+++ b/sot/Library_sot.mk
@@ -42,7 +42,7 @@ $(eval $(call gb_Library_add_api,sot,\
))
$(eval $(call gb_Library_add_defs,sot,\
- -DSOT_DLLIMPLEMENTATION \
+ -DSOT_DLLIMPLEMENTATION -DNOMINMAX\
))
$(eval $(call gb_Library_add_linked_libs,sot,\
Context
- Re: [Libreoffice] .: sot/Library_sot.mk · Michael Stahl
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.