Hello,

On 13.12.2003 04:21:30 Alexandre Julliard wrote:
> ChangeSet ID: 10428
> CVSROOT:      /opt/cvs-commit
> Module name:  wine
> Changes by:   [EMAIL PROTECTED]       2003/12/12 21:21:30
> 
> Modified files:
>       programs/winefile: Makefile.in 
> 
> Log message:
>       Define __WINE__ to enable extensions (spotted by Martin Fuchs).
> 
> Patch: http://cvs.winehq.com/patch.py?id=10428
> 
> Old revision  New revision  Changes     Path
>  1.4           1.5           +1 -0       wine/programs/winefile/Makefile.in

It's not enough to define __WINE__ for the C compiler.
We also need it for compiling the resource script:

Index: Makefile.in
===================================================================
RCS file: /home/wine/wine/programs/winefile/Makefile.in,v
retrieving revision 1.5
diff -u -p -d -r1.5 Makefile.in
--- Makefile.in 13 Dec 2003 03:21:30 -0000      1.5
+++ Makefile.in 13 Dec 2003 08:13:41 -0000
@@ -1,4 +1,5 @@
 EXTRADEFS = -D__WINE__
+EXTRARCFLAGS = -D__WINE__
 TOPSRCDIR = @top_srcdir@
 TOPOBJDIR = ../..
 SRCDIR    = @srcdir@

-- 
Martin Fuchs
[EMAIL PROTECTED]


Reply via email to