From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2276 Path: news.gmane.org!not-for-mail From: Yuri Kozlov Newsgroups: gmane.linux.lib.musl.general Subject: type of wchar_t Date: Thu, 15 Nov 2012 13:09:50 +0400 Message-ID: <20121115130950.17ed134c@keeper.home.local> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352970659 2368 80.91.229.3 (15 Nov 2012 09:10:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Nov 2012 09:10:59 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2277-gllmg-musl=m.gmane.org@lists.openwall.com Thu Nov 15 10:11:09 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TYvTS-0001Lv-Fv for gllmg-musl@plane.gmane.org; Thu, 15 Nov 2012 10:11:02 +0100 Original-Received: (qmail 7282 invoked by uid 550); 15 Nov 2012 09:10:52 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 7272 invoked from network); 15 Nov 2012 09:10:52 -0000 X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:2276 Archived-At: 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