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:
Axel Dörfler 2004-06-23 15:17:06 +00:00
parent a5fb7d4954
commit da4a7ba49b

View File

@ -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;