Commit 80427737 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

getMessage() is only defined when HAVE_OSS is defined.

parent 8cd05a00
...@@ -1514,10 +1514,10 @@ static DWORD MIX_GetNumDevs(void) ...@@ -1514,10 +1514,10 @@ static DWORD MIX_GetNumDevs(void)
DWORD WINAPI OSS_mxdMessage(UINT wDevID, UINT wMsg, DWORD dwUser, DWORD WINAPI OSS_mxdMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
DWORD dwParam1, DWORD dwParam2) DWORD dwParam1, DWORD dwParam2)
{ {
#ifdef HAVE_OSS
TRACE("(%04X, %s, %08lX, %08lX, %08lX);\n", wDevID, getMessage(wMsg), TRACE("(%04X, %s, %08lX, %08lX, %08lX);\n", wDevID, getMessage(wMsg),
dwUser, dwParam1, dwParam2); dwUser, dwParam1, dwParam2);
#ifdef HAVE_OSS
switch (wMsg) switch (wMsg)
{ {
case DRVM_INIT: case DRVM_INIT:
...@@ -1550,6 +1550,9 @@ DWORD WINAPI OSS_mxdMessage(UINT wDevID, UINT wMsg, DWORD dwUser, ...@@ -1550,6 +1550,9 @@ DWORD WINAPI OSS_mxdMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
return MMSYSERR_NOTSUPPORTED; return MMSYSERR_NOTSUPPORTED;
} }
#else #else
TRACE("(%04X, %04X, %08lX, %08lX, %08lX);\n", wDevID, wMsg,
dwUser, dwParam1, dwParam2);
return MMSYSERR_NOTENABLED; return MMSYSERR_NOTENABLED;
#endif #endif
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment