This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: B20.1: Windows32 header tiny patch
- To: Krzysztof Nikiel <krzych00@friko7.onet.pl>, cygwin mailing list <cygwin@sourceware.cygnus.com>
- Subject: Re: B20.1: Windows32 header tiny patch
- From: Christopher Faylor <cgf@cygnus.com>
- Date: Tue, 16 Feb 1999 20:21:49 -0500
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- In-Reply-To: <000101be5978$14101b20$8b9eccc2@amd-based-pc>; from Krzysztof Nikiel on Mon, Feb 15, 1999 at 12:02:25PM +0100
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- References: <000101be5978$14101b20$8b9eccc2@amd-based-pc>
- Sender: cygwin-owner@sourceware.cygnus.com
On Mon, Feb 15, 1999 at 12:02:25PM +0100, Krzysztof Nikiel wrote:
>I have encountered lines in 'Windows32/Functions.h'
>which look somewhat strange:
>
>#ifndef UNICODE_ONLY
>#include <Windows32/UnicodeFunctions.h>
>#endif /* !UNICODE_ONLY */
>
>#ifndef ANSI_ONLY
>#include <Windows32/ASCIIFunctions.h>
>#endif /* !ANSI_ONLY */
>
>If UNICODE_ONLY is defined then don't include
>UnicodeFunctions.h.
>
>It probably should look like this:
>
>#ifndef UNICODE_ONLY
>#include <Windows32/ASCIIFunctions.h>
>#endif /* !UNICODE_ONLY */
>
>#ifndef ANSI_ONLY
>#include <Windows32/UnicodeFunctions.h>
>#endif /* !ANSI_ONLY */
>
>If I am right then the following patch should be applied:
>[snip]
This sure looks right to me. Thank you for tracking this down.
I've applied this to our main sources.
-chris