PATCH - build libwine_unicode with w32api headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can now rm -fr *.h in wine/include (exclude config.h) and then do
configure. This patch fixes unicode.dll. I didnt know if you had a problem with
defining the WINVER but a define the winnls.h is not included in mingw without this. Should wines
winnls be changed also? here is what we get without the patch. I am not near a MS_VC install to
check how it is done with the headers there.

gcc -c -I. -I. -I../../include -I../../include  -D_REENTRANT -D__WINESRC__ -DNO_
LIBWINE_PORT  -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -
Wpointer-arith  -g -O2 -o wctomb.o wctomb.c
wctomb.c: In function `is_valid_sbcs_mapping':
wctomb.c:73: `WC_NO_BEST_FIT_CHARS' undeclared (first use in this function)
wctomb.c:73: (Each undeclared identifier is reported only once
wctomb.c:73: for each function it appears in.)
wctomb.c: In function `is_valid_dbcs_mapping':
wctomb.c:256: `WC_NO_BEST_FIT_CHARS' undeclared (first use in this function)
make: *** [wctomb.o] Error 1

Changelog: Fix building libwine_unicode with w32api headers.

Index: Makefile.in
===================================================================
RCS file: /home/wine/wine/libs/unicode/Makefile.in,v
retrieving revision 1.5
diff -u -r1.5 Makefile.in
--- Makefile.in	27 Jun 2003 19:02:23 -0000	1.5
+++ Makefile.in	20 Aug 2003 06:13:25 -0000
@@ -4,7 +4,7 @@
 VPATH     = @srcdir@
 LIBRARY   = wine_unicode
 SOVERSION = 1
-EXTRADEFS = -D__WINESRC__ -DNO_LIBWINE_PORT
+EXTRADEFS = -D__WINESRC__ -DNO_LIBWINE_PORT -DWINVER=0x0500
 
 CODEPAGES = \
 	037 \


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux