delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/17/01:21:17

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Christopher Faylor <cgf AT cygnus DOT com>
Message-ID: <19990216202149.A16511@cygnus.com>
Date: Tue, 16 Feb 1999 20:21:49 -0500
To: Krzysztof Nikiel <krzych00 AT friko7 DOT onet DOT pl>,
cygwin mailing list <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: B20.1: Windows32 header tiny patch
References: <000101be5978$14101b20$8b9eccc2 AT amd-based-pc>
Mime-Version: 1.0
X-Mailer: Mutt 0.93i
In-Reply-To: <000101be5978$14101b20$8b9eccc2@amd-based-pc>; from Krzysztof Nikiel on Mon, Feb 15, 1999 at 12:02:25PM +0100

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

- Raw text -


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