Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121115130950.17ed134c@keeper.home.local>
Date: Thu, 15 Nov 2012 13:09:50 +0400
From: Yuri Kozlov <yuray@...yakino.ru>
To: musl@...ts.openwall.com
Subject: type of wchar_t

Hello.

arch/x86_64/bits/alltypes.h.sh
#ifndef __cplusplus
TYPEDEF int wchar_t;
#endif


arch/i386/bits/alltypes.h.sh
#ifndef __cplusplus
#ifdef __WCHAR_TYPE__
TYPEDEF __WCHAR_TYPE__ wchar_t;
#else
TYPEDEF long wchar_t;
#endif
#endif

(__WCHAR_TYPE__ is not defined everyware, so TYPEDEF long wchar_t;)

arch/arm/bits/alltypes.h.sh
#ifndef __cplusplus
TYPEDEF unsigned wchar_t;
#endif


Why type of wchar_t is so differs?

-- 
Best Regards,
Yuri Kozlov

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.