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]
B20.1: Windows32 header tiny patch
- To: "cygwin mailing list" <cygwin@sourceware.cygnus.com>
- Subject: B20.1: Windows32 header tiny patch
- From: "Krzysztof Nikiel" <krzych00@friko7.onet.pl>
- Date: Mon, 15 Feb 1999 12:02:25 +0100
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
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:
************************************************************
*** Functions.h-orig Tue Dec 1 13:42:02 1998
--- Functions.h Mon Feb 15 08:11:56 1999
***************
*** 34,44 ****
#include <Windows32/CommonFunctions.h>
#ifndef UNICODE_ONLY
! #include <Windows32/UnicodeFunctions.h>
#endif /* !UNICODE_ONLY */
#ifndef ANSI_ONLY
! #include <Windows32/ASCIIFunctions.h>
#endif /* !ANSI_ONLY */
/* Define the approprate declaration based upon UNICODE or ASCII */
--- 34,44 ----
#include <Windows32/CommonFunctions.h>
#ifndef UNICODE_ONLY
! #include <Windows32/ASCIIFunctions.h>
#endif /* !UNICODE_ONLY */
#ifndef ANSI_ONLY
! #include <Windows32/UnicodeFunctions.h>
#endif /* !ANSI_ONLY */
/* Define the approprate declaration based upon UNICODE or ASCII */
***************************************************************************
begin 666 Functions.h-diff.gz
M'XL("&X'R#8``&9U;F-T:6]N<RYH+61I9F8`M9%/2\- $,7/S:=XI;?%F&Z2
M2A-$*(F%@*:'6L23I-F)76AW0_[@UW<3I:2B]B#=TYOE[6]VWC#&L&Q5WDBM
MZNN=K2OY-GIJ"3'E``?W0M\-IRYX$,PMV[:'[M&C5EC2%GR&Z3SD/)S==,;
M8J>GJ^'Y5[Z/O@0F4N7[5A!NGZ42^KWV7"?2AX-6`_Z=,?;>0@DJL$F3:!7?
MOZ[2AQ=K_"-BHV2N!7UC3$@)6<!A& \98,YI@T6Z3OZB+]91DOS./CX_@LUM
M3(54A&9'R,JRTF65-01!^3XSRG"PS6H2:$LCOWX'7:'OU8&ZS#^C,\J^7'1G
3AOM7<&?7<IGH/@!HT+-9W0(`````
`
end