Ben Taylor : wineoss: Fix to compile on Solaris 10.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Apr 27 06:43:40 CDT 2007
Module: wine
Branch: master
Commit: 09208ca4fffa198c757a6b8654448c746dacf445
URL: http://source.winehq.org/git/wine.git/?a=commit;h=09208ca4fffa198c757a6b8654448c746dacf445
Author: Ben Taylor <sol11x86 at comcast.net>
Date: Thu Apr 26 13:22:11 2007 +0000
wineoss: Fix to compile on Solaris 10.
---
dlls/wineoss.drv/mixer.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/wineoss.drv/mixer.c b/dlls/wineoss.drv/mixer.c
index a28305b..22f580f 100644
--- a/dlls/wineoss.drv/mixer.c
+++ b/dlls/wineoss.drv/mixer.c
@@ -159,11 +159,17 @@ static const char * getIoctlCommand(int command)
IOCTL_TO_STR(SOUND_MIXER_DIGITAL1);
IOCTL_TO_STR(SOUND_MIXER_DIGITAL2);
IOCTL_TO_STR(SOUND_MIXER_DIGITAL3);
+#ifdef SOUND_MIXER_PHONEIN
IOCTL_TO_STR(SOUND_MIXER_PHONEIN);
+#endif
+#ifdef SOUND_MIXER_PHONEOUT
IOCTL_TO_STR(SOUND_MIXER_PHONEOUT);
+#endif
IOCTL_TO_STR(SOUND_MIXER_VIDEO);
IOCTL_TO_STR(SOUND_MIXER_RADIO);
+#ifdef SOUND_MIXER_MONITOR
IOCTL_TO_STR(SOUND_MIXER_MONITOR);
+#endif
}
#undef IOCTL_TO_STR
sprintf(str, "UNKNOWN(%08x)", command);
More information about the wine-cvs
mailing list