B20.1: Windows32 header tiny patch

Christopher Faylor cgf@cygnus.com
Sun Feb 28 23:02:00 GMT 1999


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



More information about the Cygwin mailing list