include: Don't default to WINE_NO_NAMELESS_EXTENSION for Wine build.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-03-22 18:31:25 +01:00 committed by Alexandre Julliard
parent 1a7be75656
commit b39b9eea39
38 changed files with 38 additions and 5 deletions

View File

@ -1,5 +1,6 @@
TESTDLL = amstream.dll
IMPORTS = strmbase strmiids uuid ddraw ole32 user32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
amstream.c

View File

@ -2,6 +2,7 @@ MODULE = combase.dll
IMPORTLIB = combase
IMPORTS = advapi32 ole32 user32 gdi32 uuid rpcrt4
DELAYIMPORTS = oleaut32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,6 +1,7 @@
MODULE = d3d11.dll
IMPORTLIB = d3d11
IMPORTS = dxguid uuid dxgi wined3d
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,6 +1,7 @@
MODULE = devenum.dll
IMPORTS = dmoguids strmiids uuid ole32 oleaut32 avicap32 winmm user32 advapi32 dsound msdmo
DELAYIMPORTS = msvfw32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,6 +1,7 @@
MODULE = dsound.dll
IMPORTLIB = dsound
IMPORTS = dxguid uuid winmm ole32 advapi32 user32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,5 +1,6 @@
TESTDLL = dsound.dll
IMPORTS = dmoguids dsound msdmo ole32 version user32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
capture.c \

View File

@ -2,6 +2,7 @@ MODULE = dwrite.dll
IMPORTLIB = dwrite
IMPORTS = user32 gdi32 advapi32
EXTRAINCL = $(FREETYPE_CFLAGS)
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
analyzer.c \

View File

@ -1,5 +1,6 @@
MODULE = dxdiagn.dll
IMPORTS = strmiids dxguid uuid d3d9 ddraw dsound version ole32 oleaut32 user32 advapi32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -2,6 +2,7 @@ MODULE = gdiplus.dll
IMPORTLIB = gdiplus
IMPORTS = uuid shlwapi ole32 user32 gdi32
DELAYIMPORTS = windowscodecs
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,6 +1,7 @@
MODULE = ieframe.dll
IMPORTLIB = ieframe
IMPORTS = uuid urlmon shell32 comctl32 shlwapi oleaut32 ole32 user32 gdi32 advapi32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,6 +1,7 @@
MODULE = inetcomm.dll
IMPORTLIB = inetcomm
IMPORTS = uuid urlmon propsys oleaut32 ole32 ws2_32 user32 advapi32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native

View File

@ -1,5 +1,6 @@
TESTDLL = inetcomm.dll
IMPORTS = inetcomm urlmon oleaut32 ole32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
mimeintl.c \

View File

@ -2,6 +2,7 @@ MODULE = iphlpapi.dll
IMPORTLIB = iphlpapi
IMPORTS = advapi32
EXTRALIBS = $(RESOLV_LIBS) $(KSTAT_LIBS) $(PROCSTAT_LIBS)
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
icmp.c \

View File

@ -1,6 +1,7 @@
MODULE = mfplat.dll
IMPORTLIB = mfplat
IMPORTS = advapi32 ole32 mfuuid propsys rtworkq
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native

View File

@ -1,6 +1,7 @@
MODULE = mfreadwrite.dll
IMPORTLIB = mfreadwrite
IMPORTS = mfuuid uuid mfplat ole32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native

View File

@ -1,5 +1,6 @@
MODULE = mmdevapi.dll
IMPORTS = uuid ole32 oleaut32 user32 advapi32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,5 +1,6 @@
TESTDLL = mmdevapi.dll
IMPORTS = ole32 version user32 advapi32 winmm
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
capture.c \

View File

@ -1,6 +1,7 @@
MODULE = msi.dll
IMPORTLIB = msi
IMPORTS = uuid urlmon wininet comctl32 shell32 shlwapi cabinet oleaut32 ole32 version user32 gdi32 advapi32 rpcrt4 sxs imagehlp mspatcha odbccp32 wintrust crypt32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRAIDLFLAGS = --prefix-server=s_

View File

@ -2,7 +2,7 @@ MODULE = ole32.dll
IMPORTLIB = ole32
IMPORTS = uuid advapi32 user32 gdi32 combase rpcrt4
DELAYIMPORTS = oleaut32
EXTRADEFS = -D_OLE32_
EXTRADEFS = -D_OLE32_ -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,6 +1,7 @@
MODULE = propsys.dll
IMPORTLIB = propsys
IMPORTS = ole32 oleaut32 uuid
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native

View File

@ -1,5 +1,6 @@
TESTDLL = propsys.dll
IMPORTS = propsys ole32 oleaut32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
propsys.c

View File

@ -1,5 +1,6 @@
MODULE = qcap.dll
IMPORTS = strmbase strmiids uuid ole32 oleaut32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
DELAYIMPORTS = msvfw32
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,5 +1,6 @@
MODULE = qedit.dll
IMPORTS = strmiids strmbase uuid oleaut32 ole32 advapi32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,6 +1,7 @@
MODULE = quartz.dll
IMPORTLIB = quartz
IMPORTS = strmiids dxguid strmbase uuid dsound msacm32 msvfw32 ole32 oleaut32 rpcrt4 user32 gdi32 advapi32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -2,6 +2,7 @@ MODULE = sechost.dll
IMPORTLIB = sechost
IMPORTS = kernelbase
DELAYIMPORTS = rpcrt4
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -1,4 +1,4 @@
EXTRADEFS = -D_SHELL32_
EXTRADEFS = -D_SHELL32_ -DWINE_NO_NAMELESS_EXTENSION
MODULE = shell32.dll
IMPORTLIB = shell32
IMPORTS = uuid shlwapi user32 gdi32 advapi32

View File

@ -1,5 +1,6 @@
TESTDLL = shell32.dll
IMPORTS = shell32 ole32 oleaut32 user32 gdi32 advapi32 shlwapi
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
appbar.c \

View File

@ -3,6 +3,7 @@ IMPORTLIB = windowscodecs
IMPORTS = windowscodecs uuid ole32 oleaut32 propsys rpcrt4 shlwapi user32 gdi32 advapi32
EXTRAINCL = $(JPEG_CFLAGS) $(PNG_CFLAGS) $(TIFF_CFLAGS)
EXTRALIBS = $(APPLICATIONSERVICES_LIBS)
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -2,6 +2,7 @@ MODULE = winealsa.drv
IMPORTS = uuid ole32 advapi32
DELAYIMPORTS = winmm
EXTRALIBS = $(ALSA_LIBS)
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
midi.c \

View File

@ -3,6 +3,7 @@ IMPORTS = strmbase strmiids uuid ole32 mfuuid
DELAYIMPORTS = mfplat
EXTRAINCL = $(GSTREAMER_CFLAGS)
EXTRALIBS = $(GSTREAMER_LIBS) $(PTHREAD_LIBS)
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View File

@ -2,6 +2,7 @@ MODULE = winepulse.drv
IMPORTS = dxguid uuid winmm user32 advapi32 ole32
EXTRALIBS = $(PULSE_LIBS) $(PTHREAD_LIBS)
EXTRAINCL = $(PULSE_CFLAGS)
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
mmdevdrv.c

View File

@ -1,4 +1,4 @@
EXTRADEFS = -D_WINX32_
EXTRADEFS = -D_WINX32_ -DWINE_NO_NAMELESS_EXTENSION
MODULE = wininet.dll
IMPORTLIB = wininet
IMPORTS = mpr shlwapi shell32 user32 ws2_32 advapi32

View File

@ -1,5 +1,6 @@
TESTDLL = wininet.dll
IMPORTS = wininet crypt32 ws2_32 user32 advapi32 shell32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
ftp.c \

View File

@ -1,4 +1,4 @@
EXTRADEFS = -D_WINMM_
EXTRADEFS = -D_WINMM_ -DWINE_NO_NAMELESS_EXTENSION
MODULE = winmm.dll
IMPORTLIB = winmm
IMPORTS = uuid user32 advapi32 ole32 msacm32

View File

@ -291,7 +291,7 @@ extern "C" {
#undef __C89_NAMELESSUNIONNAME7
#undef __C89_NAMELESSUNIONNAME8
#if !defined(__WINESRC__) && !defined(WINE_NO_NAMELESS_EXTENSION)
#if !defined(WINE_NO_NAMELESS_EXTENSION)
# ifdef __GNUC__
/* Anonymous structs support starts with gcc 2.96/g++ 2.95 */
# if (__GNUC__ > 2) || ((__GNUC__ == 2) && ((__GNUC_MINOR__ > 95) || ((__GNUC_MINOR__ == 95) && defined(__cplusplus))))

View File

@ -1,5 +1,6 @@
MODULE = services.exe
IMPORTS = rpcrt4 advapi32 userenv setupapi
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mconsole -mno-cygwin

View File

@ -1,6 +1,7 @@
MODULE = winecfg.exe
APPMODE = -mwindows
IMPORTS = uuid comdlg32 comctl32 shell32 ole32 winmm shlwapi uxtheme user32 gdi32 advapi32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
about.c \

View File

@ -1,6 +1,7 @@
MODULE = winemenubuilder.exe
APPMODE = -mwindows -municode
IMPORTS = uuid windowscodecs shell32 shlwapi ole32 user32 advapi32
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
C_SRCS = \
winemenubuilder.c