PATCH: newer alsa compile problem

Marcus Meissner meissner at suse.de
Sun May 29 02:26:14 CDT 2005


Hi,

Alsa headers apparently use "interface" as variable name.

This workaround makes wine compile at least.

Ciao, Marcus

Changelog:
	#undef interface before including alsa headers.

--- dlls/winmm/winealsa/alsa.h
+++ dlls/winmm/winealsa/alsa.h
@@ -18,7 +18,9 @@
 #ifndef __WINE_CONFIG_H
 # error You must include config.h to use this header
 #endif
-
+#ifdef interface
+#undef interface
+#endif
 #ifdef HAVE_ALSA_ASOUNDLIB_H
 #include <alsa/asoundlib.h>
 #elif defined(HAVE_SYS_ASOUNDLIB_H)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050529/f8f30a02/attachment.pgp


More information about the wine-patches mailing list