1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

Don't define wchar_t in C++ as it is a bultin-type there.

This commit is contained in:
Sebastian Bauer
2018-03-30 21:35:06 +02:00
parent a6a9352a00
commit dfc7f310d6

View File

@ -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
/****************************************************************************/