ICU-12766 z and AIX porting: C++11 issue and icu-config issue for escaping

X-SVN-Rev: 39931
This commit is contained in:
Steven R. Loomis 2017-03-24 21:34:40 +00:00
parent da410e89ee
commit 1f441dcfd8
2 changed files with 8 additions and 0 deletions

View File

@ -170,9 +170,16 @@ enum {
struct ListFormatter::ListPatternsSink : public ResourceSink {
UnicodeString two, start, middle, end;
#if ((U_PLATFORM == U_PF_AIX) || (U_PLATFORM == U_PF_OS390)) && (U_CPLUSPLUS_VERSION < 11)
char aliasedStyle[kStyleLenMax+1];
ListPatternsSink() {
uprv_memset(aliasedStyle, 0, kStyleLenMax+1);
}
#else
char aliasedStyle[kStyleLenMax+1] = {0};
ListPatternsSink() {}
#endif
virtual ~ListPatternsSink();
void setAliasedStyle(UnicodeString alias) {

View File

@ -4,6 +4,7 @@
s%^\([a-zA-Z0-9\._-]*\)[ ]*+=%\1=$(\1) %
s%^[A-Z]*_SO_TARG*%## &%
s%^SHARED_OBJECT.*%## &%
s%^_%.*%## &%
s%^LD_SONAME.*%## &%
s%$(\([^\)]*\))%${\1}%g
s%^ %#M# %