Always define WIDL_C_INLINE_WRAPPERS.

This commit is contained in:
Jacek Caban 2012-08-28 11:15:29 +02:00 committed by Alexandre Julliard
parent 9d1bec6077
commit e679471885
12 changed files with 7 additions and 11 deletions

View File

@ -10,7 +10,7 @@
#
DLLFLAGS = @DLLFLAGS@
DEFS = -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION $(EXTRADEFS)
DEFS = -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS $(EXTRADEFS)
MODULE = $(TESTDLL:%.dll=%)_test.exe
TESTRESULTS = $(C_SRCS:.c=.ok)

View File

@ -1,6 +1,5 @@
MODULE = fusion.dll
IMPORTS = advapi32 dbghelp shlwapi version user32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
asmcache.c \

View File

@ -1,6 +1,5 @@
TESTDLL = fusion.dll
IMPORTS = user32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
asmcache.c \

View File

@ -1,7 +1,7 @@
MODULE = mshtml.dll
IMPORTLIB = mshtml
IMPORTS = strmiids uuid urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32
EXTRADEFS = -DCOM_NO_WINDOWS_H -DWIDL_C_INLINE_WRAPPERS
EXTRADEFS = -DCOM_NO_WINDOWS_H
DELAYIMPORTS = wininet
C_SRCS = \

View File

@ -2,7 +2,6 @@ MODULE = msi.dll
IMPORTLIB = msi
IMPORTS = uuid urlmon wininet comctl32 shell32 shlwapi cabinet oleaut32 ole32 version user32 gdi32 advapi32
DELAYIMPORTS = odbccp32 wintrust crypt32 imagehlp
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
action.c \

View File

@ -1,7 +1,6 @@
EXTRADEFS = -DCOM_NO_WINDOWS_H
MODULE = msxml3.dll
IMPORTS = uuid urlmon shlwapi oleaut32 ole32 user32 advapi32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
EXTRALIBS = @XML2LIBS@
EXTRAINCL = @XML2INCL@ @XSLTINCL@

View File

@ -1,6 +1,5 @@
TESTDLL = msxml3.dll
IMPORTS = oleaut32 ole32 user32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
domdoc.c \

View File

@ -1,7 +1,6 @@
MODULE = sxs.dll
IMPORTS = oleaut32 ole32
IMPORTLIB = sxs
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
cache.c \

View File

@ -1,6 +1,5 @@
TESTDLL = sxs.dll
IMPORTS = sxs
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
cache.c \

View File

@ -2,7 +2,7 @@ MODULE = windowscodecs.dll
IMPORTLIB = windowscodecs
IMPORTS = uuid ole32 oleaut32 shlwapi advapi32 rpcrt4
EXTRAINCL = @PNGINCL@
EXTRADEFS = -DENTRY_PREFIX=WIC_ -DPROXY_DELEGATION -DWINE_REGISTER_DLL -DWIDL_C_INLINE_WRAPPERS
EXTRADEFS = -DENTRY_PREFIX=WIC_ -DPROXY_DELEGATION -DWINE_REGISTER_DLL
EXTRALIBS = @APPLICATIONSERVICESLIB@
C_SRCS = \

View File

@ -3,7 +3,6 @@ IMPORTLIB = winhttp
IMPORTS = uuid user32 advapi32
DELAYIMPORTS = oleaut32 ole32 crypt32
EXTRALIBS = @SOCKETLIBS@
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
cookie.c \

View File

@ -20,6 +20,10 @@
import "wtypes.idl";
#endif
cpp_quote("#ifdef __WINESRC__")
cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
cpp_quote("#endif")
cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS")
cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS")
cpp_quote("#undef WIDL_C_INLINE_WRAPPERS")