mailing list of musl libc
 help / color / mirror / code / Atom feed
* type of wchar_t
@ 2012-11-15  9:09 Yuri Kozlov
  2012-11-15 11:53 ` Szabolcs Nagy
  0 siblings, 1 reply; 4+ messages in thread
From: Yuri Kozlov @ 2012-11-15  9:09 UTC (permalink / raw)
  To: musl

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-15 13:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-15  9:09 type of wchar_t Yuri Kozlov
2012-11-15 11:53 ` Szabolcs Nagy
2012-11-15 12:36   ` Yuri Kozlov
2012-11-15 13:26     ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).