* commit '83fd6375f6d9016afe9bb03453d39b8c41cda548': Add guards to prevent typedefs when C++11 is available.
This commit is contained in:
commit
1f87d3ab8c
1 changed files with 3 additions and 0 deletions
|
|
@ -22,8 +22,11 @@
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
|
// Definitions exist in C++11
|
||||||
|
#if defined __cplusplus && __cplusplus < 201103L
|
||||||
typedef uint32_t char32_t;
|
typedef uint32_t char32_t;
|
||||||
typedef uint16_t char16_t;
|
typedef uint16_t char16_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Standard string functions on char16_t strings.
|
// Standard string functions on char16_t strings.
|
||||||
int strcmp16(const char16_t *, const char16_t *);
|
int strcmp16(const char16_t *, const char16_t *);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue