mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
wineoss.drv: Don't use autoheader styled define.
This commit is contained in:
parent
bd5422406d
commit
b5bb995e5c
@ -74,10 +74,6 @@
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(midi);
|
||||
|
||||
#ifdef SNDCTL_SEQ_NRMIDIS
|
||||
#define HAVE_OSS_MIDI
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OSS_MIDI
|
||||
|
||||
typedef struct {
|
||||
int state; /* -1 disabled, 0 is no recording started, 1 in recording, bit 2 set if in sys exclusive recording */
|
||||
@ -1642,7 +1638,7 @@ static DWORD modReset(WORD wDevID)
|
||||
return MMSYSERR_NOERROR;
|
||||
}
|
||||
|
||||
#endif /* HAVE_OSS_MIDI */
|
||||
#endif /* SNDCTL_SEQ_NRMIDIS */
|
||||
|
||||
/*======================================================================*
|
||||
* MIDI entry points *
|
||||
@ -1657,7 +1653,7 @@ DWORD WINAPI OSS_midMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
|
||||
TRACE("(%04X, %04X, %08lX, %08lX, %08lX);\n",
|
||||
wDevID, wMsg, dwUser, dwParam1, dwParam2);
|
||||
switch (wMsg) {
|
||||
#ifdef HAVE_OSS_MIDI
|
||||
#ifdef SNDCTL_SEQ_NRMIDIS
|
||||
case DRVM_INIT:
|
||||
return OSS_MidiInit();
|
||||
case DRVM_EXIT:
|
||||
@ -1707,7 +1703,7 @@ DWORD WINAPI OSS_modMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
|
||||
wDevID, wMsg, dwUser, dwParam1, dwParam2);
|
||||
|
||||
switch (wMsg) {
|
||||
#ifdef HAVE_OSS_MIDI
|
||||
#ifdef SNDCTL_SEQ_NRMIDIS
|
||||
case DRVM_INIT:
|
||||
return OSS_MidiInit();
|
||||
case DRVM_EXIT:
|
||||
|
Loading…
Reference in New Issue
Block a user