[PATCH] riched20: Avoid using GCC's typeof extension

Alexandre Julliard julliard at winehq.org
Mon Sep 24 11:19:02 CDT 2018


Alex Henrie <alexhenrie24 at gmail.com> writes:

> Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> ---
>  dlls/riched20/txthost.c | 86 ++++++++++++++++++++---------------------
>  dlls/riched20/txtsrv.c  |  4 +-
>  2 files changed, 45 insertions(+), 45 deletions(-)

It breaks the Windows build:

/usr/bin/i686-w64-mingw32-ld: txthost.o:txthost.c:(.rdata+0xec): undefined reference to `__stdcall_ITextHostImpl_TxGetDC'
/usr/bin/i686-w64-mingw32-ld: txthost.o:txthost.c:(.rdata+0xf0): undefined reference to `__stdcall_ITextHostImpl_TxReleaseDC'
/usr/bin/i686-w64-mingw32-ld: txthost.o:txthost.c:(.rdata+0xf4): undefined reference to `__stdcall_ITextHostImpl_TxShowScrollBar'
/usr/bin/i686-w64-mingw32-ld: txthost.o:txthost.c:(.rdata+0xf8): undefined reference to `__stdcall_ITextHostImpl_TxEnableScrollBar'
/usr/bin/i686-w64-mingw32-ld: txthost.o:txthost.c:(.rdata+0xfc): undefined reference to `__stdcall_ITextHostImpl_TxSetScrollRange'
etc.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list