summaryrefslogtreecommitdiff
path: root/include/rtl/textenc.h
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-04-23 15:48:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-25 10:04:53 +0200
commit6b448d3634f26224e480c0f30c617eacd7b4e3ab (patch)
treee829dd9ce5207e29be890c309e3b5ceaa3e4eea9 /include/rtl/textenc.h
parentda64d198ec3b31318c92ad4bcaab18cc2bf5cfdc (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/textenc.h')
-rw-r--r--include/rtl/textenc.h6
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 ))