forked from OSchip/llvm-project
Xing Xue: Some minor changes for IBM XLC++/AIX.
llvm-svn: 189623
This commit is contained in:
parent
e0064d8c24
commit
9762413621
|
@ -363,7 +363,7 @@ public:
|
||||||
# else
|
# else
|
||||||
static const mask blank = _CTYPE_B;
|
static const mask blank = _CTYPE_B;
|
||||||
# endif
|
# endif
|
||||||
#elif defined(__sun__)
|
#elif defined(__sun__) && defined(_AIX)
|
||||||
typedef unsigned int mask;
|
typedef unsigned int mask;
|
||||||
static const mask space = _ISSPACE;
|
static const mask space = _ISSPACE;
|
||||||
static const mask print = _ISPRINT;
|
static const mask print = _ISPRINT;
|
||||||
|
|
|
@ -263,8 +263,6 @@ size_t wcsxfrm_l(wchar_t *__ws1, const wchar_t *__ws2, size_t __n,
|
||||||
}
|
}
|
||||||
#endif // !defined(_AIX71)
|
#endif // !defined(_AIX71)
|
||||||
|
|
||||||
locale_t cloc(void);
|
|
||||||
|
|
||||||
// strftime_l() is defined by POSIX. However, AIX 7.1 does not have it
|
// strftime_l() is defined by POSIX. However, AIX 7.1 does not have it
|
||||||
// implemented yet.
|
// implemented yet.
|
||||||
static inline
|
static inline
|
||||||
|
|
|
@ -109,6 +109,11 @@ countof(const T * const begin, const T * const end)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(_AIX)
|
||||||
|
// Set priority to INT_MIN + 256 + 150
|
||||||
|
# pragma priority ( -2147483242 )
|
||||||
|
#endif
|
||||||
|
|
||||||
const locale::category locale::none;
|
const locale::category locale::none;
|
||||||
const locale::category locale::collate;
|
const locale::category locale::collate;
|
||||||
const locale::category locale::ctype;
|
const locale::category locale::ctype;
|
||||||
|
|
Loading…
Reference in New Issue