delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/03/09:49:33

Message-ID: <002101c08df0$81e7e660$2a4a893e@oemcomputer>
From: "Stephen Silver" <djgpp AT argentum DOT freeserve DOT co DOT uk>
To: <djgpp-workers AT delorie DOT com>
Subject: Re: stdint.h
Date: Sat, 3 Feb 2001 14:49:25 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:

> +  /* These are defined by limits.h, so make them conditional.  */

As pointed out in my other post, I don't think they should be defined
by limits.h.

> +#define WCHAR_MAX 32767

WCHAR_MAX should be 65535, since wchar_t is defined as an unsigned short
in sys/djtypes.h (and it will need to hold values higher than 32767 if
it is ever to be used for Unicode).

Stephen

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019