diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-04-23 15:48:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-25 10:04:53 +0200 |
commit | 6b448d3634f26224e480c0f30c617eacd7b4e3ab (patch) | |
tree | e829dd9ce5207e29be890c309e3b5ceaa3e4eea9 /include/rtl | |
parent | da64d198ec3b31318c92ad4bcaab18cc2bf5cfdc (diff) |
make __RSC a builtin define for the RSC compiler
instead of randomly defining it in only some of .src files
Change-Id: Ifec3920740723d248400f451d717b5288c421b8d
Reviewed-on: https://gerrit.libreoffice.org/36832
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/rtl')
-rw-r--r-- | include/rtl/textenc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rtl/textenc.h b/include/rtl/textenc.h index 72c9b2cc5306..4866a19de76f 100644 --- a/include/rtl/textenc.h +++ b/include/rtl/textenc.h @@ -20,11 +20,11 @@ #ifndef INCLUDED_RTL_TEXTENC_H #define INCLUDED_RTL_TEXTENC_H -#ifdef _SOLAR_RSC_INVOKED +#ifdef __RSC /* Enable resources to use these values, rsc can't handle casts */ #define RTL_TEXTENC_CAST( val ) (val) -#else /* !_SOLAR_RSC_INVOKED */ +#else /* !__RSC */ #include <sal/types.h> @@ -40,7 +40,7 @@ typedef sal_uInt16 rtl_TextEncoding; #define RTL_TEXTENC_CAST( val ) ((rtl_TextEncoding) val) -#endif /* _SOLAR_RSC_INVOKED */ +#endif /* __RSC */ #define RTL_TEXTENCODING_DONTKNOW (RTL_TEXTENC_CAST( 0 )) #define RTL_TEXTENCODING_MS_1252 (RTL_TEXTENC_CAST( 1 )) |