Modified THUNK_Alloc so as to avoid 32->16->32 calling sequences.
[wine/hacks.git] / multimedia / oss.h
blob37aadb506716dc329ba493d470f67a15532d5809
1 /* Definition for OSS drivers : wine multimedia sub system */
3 #if defined(HAVE_SYS_SOUNDCARD_H)
4 # include <sys/soundcard.h>
5 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
6 # include <machine/soundcard.h>
7 #elif defined(HAVE_SOUNDCARD_H)
8 # include <soundcard.h>
9 #endif
11 #ifdef HAVE_SYS_ERRNO_H
12 #include <sys/errno.h>
13 #endif
15 #ifdef SOUND_VERSION
16 #define IOCTL(a,b,c) ioctl(a,b,&c)
17 #else
18 #define IOCTL(a,b,c) (c = ioctl(a,b,c))
19 #endif