Commit e6794718 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

Always define WIDL_C_INLINE_WRAPPERS.

parent 9d1bec60
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# #
DLLFLAGS = @DLLFLAGS@ 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 MODULE = $(TESTDLL:%.dll=%)_test.exe
TESTRESULTS = $(C_SRCS:.c=.ok) TESTRESULTS = $(C_SRCS:.c=.ok)
......
MODULE = fusion.dll MODULE = fusion.dll
IMPORTS = advapi32 dbghelp shlwapi version user32 IMPORTS = advapi32 dbghelp shlwapi version user32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \ C_SRCS = \
asmcache.c \ asmcache.c \
......
TESTDLL = fusion.dll TESTDLL = fusion.dll
IMPORTS = user32 IMPORTS = user32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \ C_SRCS = \
asmcache.c \ asmcache.c \
......
MODULE = mshtml.dll MODULE = mshtml.dll
IMPORTLIB = mshtml IMPORTLIB = mshtml
IMPORTS = strmiids uuid urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32 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 DELAYIMPORTS = wininet
C_SRCS = \ C_SRCS = \
......
...@@ -2,7 +2,6 @@ MODULE = msi.dll ...@@ -2,7 +2,6 @@ MODULE = msi.dll
IMPORTLIB = msi IMPORTLIB = msi
IMPORTS = uuid urlmon wininet comctl32 shell32 shlwapi cabinet oleaut32 ole32 version user32 gdi32 advapi32 IMPORTS = uuid urlmon wininet comctl32 shell32 shlwapi cabinet oleaut32 ole32 version user32 gdi32 advapi32
DELAYIMPORTS = odbccp32 wintrust crypt32 imagehlp DELAYIMPORTS = odbccp32 wintrust crypt32 imagehlp
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \ C_SRCS = \
action.c \ action.c \
......
EXTRADEFS = -DCOM_NO_WINDOWS_H EXTRADEFS = -DCOM_NO_WINDOWS_H
MODULE = msxml3.dll MODULE = msxml3.dll
IMPORTS = uuid urlmon shlwapi oleaut32 ole32 user32 advapi32 IMPORTS = uuid urlmon shlwapi oleaut32 ole32 user32 advapi32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
EXTRALIBS = @XML2LIBS@ EXTRALIBS = @XML2LIBS@
EXTRAINCL = @XML2INCL@ @XSLTINCL@ EXTRAINCL = @XML2INCL@ @XSLTINCL@
......
TESTDLL = msxml3.dll TESTDLL = msxml3.dll
IMPORTS = oleaut32 ole32 user32 IMPORTS = oleaut32 ole32 user32
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \ C_SRCS = \
domdoc.c \ domdoc.c \
......
MODULE = sxs.dll MODULE = sxs.dll
IMPORTS = oleaut32 ole32 IMPORTS = oleaut32 ole32
IMPORTLIB = sxs IMPORTLIB = sxs
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \ C_SRCS = \
cache.c \ cache.c \
......
TESTDLL = sxs.dll TESTDLL = sxs.dll
IMPORTS = sxs IMPORTS = sxs
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \ C_SRCS = \
cache.c \ cache.c \
......
...@@ -2,7 +2,7 @@ MODULE = windowscodecs.dll ...@@ -2,7 +2,7 @@ MODULE = windowscodecs.dll
IMPORTLIB = windowscodecs IMPORTLIB = windowscodecs
IMPORTS = uuid ole32 oleaut32 shlwapi advapi32 rpcrt4 IMPORTS = uuid ole32 oleaut32 shlwapi advapi32 rpcrt4
EXTRAINCL = @PNGINCL@ 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@ EXTRALIBS = @APPLICATIONSERVICESLIB@
C_SRCS = \ C_SRCS = \
......
...@@ -3,7 +3,6 @@ IMPORTLIB = winhttp ...@@ -3,7 +3,6 @@ IMPORTLIB = winhttp
IMPORTS = uuid user32 advapi32 IMPORTS = uuid user32 advapi32
DELAYIMPORTS = oleaut32 ole32 crypt32 DELAYIMPORTS = oleaut32 ole32 crypt32
EXTRALIBS = @SOCKETLIBS@ EXTRALIBS = @SOCKETLIBS@
EXTRADEFS = -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \ C_SRCS = \
cookie.c \ cookie.c \
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
import "wtypes.idl"; import "wtypes.idl";
#endif #endif
cpp_quote("#ifdef __WINESRC__")
cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
cpp_quote("#endif")
cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS") cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS")
cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS") cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS")
cpp_quote("#undef WIDL_C_INLINE_WRAPPERS") cpp_quote("#undef WIDL_C_INLINE_WRAPPERS")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment