Fix wchar_t redefinition in C++
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
|
||||
#ifndef _WCHAR_T
|
||||
#define _WCHAR_T
|
||||
#ifndef __cplusplus
|
||||
#ifndef __WCHAR_TYPE__
|
||||
#define __WCHAR_TYPE__ int32_t
|
||||
#endif
|
||||
typedef __WCHAR_TYPE__ wchar_t;
|
||||
#endif // __cplusplus
|
||||
#endif // _WCHAR_T
|
||||
|
||||
#ifndef _WINT_T
|
||||
|
||||
Reference in New Issue
Block a user