mirror of https://github.com/adtools/clib2.git
Don't define wchar_t in C++ as it is a bultin-type there.
This commit is contained in:
parent
a6a9352a00
commit
dfc7f310d6
|
@ -61,7 +61,11 @@ extern "C" {
|
|||
|
||||
typedef int ptrdiff_t;
|
||||
typedef unsigned int size_t;
|
||||
|
||||
/* wchar_t is a built-in type in C++ */
|
||||
#ifndef __cplusplus
|
||||
typedef unsigned short wchar_t;
|
||||
#endif
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
|
Loading…
Reference in New Issue