delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/15/04:26:43

Message-ID: <103239A3A1D2D3118CF10060973136622D4F31@mail.rkk.cz>
From: "Holejsovsky, Pavel" <PHolejs AT rkk DOT cz>
To: "'Eli Zaretskii'" <eliz AT is DOT elta DOT co DOT il>
Cc: "'djgpp-workers AT delorie DOT com'" <djgpp-workers AT delorie DOT com>
Subject: RE: Patch: sentinels for typedefs in headers
Date: Thu, 15 Jun 2000 10:25:27 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp-workers AT delorie DOT com

>> FYI, MSVC6.0 declares 
>> 
>> typedef unsigned short wchar_t;
>> typedef wchar_t wint_t;
>
>Really?  Then how do they define WEOF?  It cannot be negative with
>this setup.

#ifndef WEOF
#define WEOF (wint_t)(0xFFFF)
#endif

:-))

Pavel

- Raw text -


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