mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
wchar_t is already defined in C++ with GCC 3 - this fixes the build for that compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8136 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a5fb7d4954
commit
da4a7ba49b
@ -7,7 +7,9 @@
|
||||
#ifndef _WCHAR_T_H
|
||||
#define _WCHAR_T_H
|
||||
|
||||
#if !defined(__cplusplus) || __GNUC__ < 3
|
||||
typedef unsigned short wchar_t;
|
||||
#endif
|
||||
|
||||
#define _WINT_T
|
||||
typedef unsigned int wint_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user