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:
@ -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
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user