]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
#ifdef SNDCTL_DSP_GETCHANNELMASK and SNDCTL_DSP_BIND_CHANNEL; not available
authorJulian Seward <jseward@acm.org>
Sun, 24 Mar 2002 11:43:56 +0000 (11:43 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 24 Mar 2002 11:43:56 +0000 (11:43 +0000)
on all Linuxes, it seems.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@21

vg_syscall_mem.c

index 97fae79b24d6ffe26c7fa1ef368c37c58912ef62..0f585d92e2aa96c1da7a285334235bd7e365390a 100644 (file)
@@ -1478,8 +1478,12 @@ void VG_(wrap_syscall) ( void )
             case SOUND_PCM_WRITE_FILTER:
             case SNDCTL_DSP_SUBDIVIDE:
             case SNDCTL_DSP_SETFRAGMENT:
+#           if defined(SNDCTL_DSP_GETCHANNELMASK)
             case SNDCTL_DSP_GETCHANNELMASK:
+#           endif
+#           if defined(SNDCTL_DSP_BIND_CHANNEL)
             case SNDCTL_DSP_BIND_CHANNEL:
+#           endif
             case SNDCTL_TMR_TIMEBASE:
             case SNDCTL_TMR_TEMPO:
             case SNDCTL_TMR_SOURCE: