diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2014-12-19 20:56:15 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2014-12-19 20:58:43 +0100 |
commit | d6e7c247563cb15dcc143f6d1d583c746af0184b (patch) | |
tree | 4ed29cfa54117e01cded0b4f25f18929345a4293 /sal | |
parent | bccfe2cbc3166f8f15c43417a958701328cfe64b (diff) |
constants via #define must be integer if used in #if statement
breaks windows build otherwise (fatal erro C1017)
Change-Id: Idae78c621bfb8f989eb33220f015e17a7b7fb92f
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/string.cxx | 2 | ||||
-rw-r--r-- | sal/rtl/ustring.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/string.cxx b/sal/rtl/string.cxx index 259906c47c73..07842ecc594c 100644 --- a/sal/rtl/string.cxx +++ b/sal/rtl/string.cxx @@ -56,7 +56,7 @@ static rtl_String const aImplEmpty_rtl_String = * ustring.cxx */ -#define IMPL_RTL_IS_USTRING false +#define IMPL_RTL_IS_USTRING 0 #define IMPL_RTL_STRCODE sal_Char #define IMPL_RTL_USTRCODE( c ) ((unsigned char)c) diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx index 0fc9e06ad783..a9406d859b63 100644 --- a/sal/rtl/ustring.cxx +++ b/sal/rtl/ustring.cxx @@ -62,7 +62,7 @@ static rtl_uString const aImplEmpty_rtl_uString = * string.cxx */ -#define IMPL_RTL_IS_USTRING true +#define IMPL_RTL_IS_USTRING 1 #define IMPL_RTL_STRCODE sal_Unicode #define IMPL_RTL_USTRCODE( c ) (c) |