Commit be57450f authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

wineoss.drv: Cope with system which lack SNDCTL_DSP_HALT.

parent 0857d2b2
......@@ -53,6 +53,13 @@
#include "audiopolicy.h"
#include "audioclient.h"
/* Some implementations of OSS, such as FreeBSD older than 9.0, lack
SNDCTL_DSP_HALT which is just a synonym for the older SNDCTL_DSP_RESET. */
#ifndef SNDCTL_DSP_HALT
#define SNDCTL_DSP_HALT SNDCTL_DSP_RESET
#endif
WINE_DEFAULT_DEBUG_CHANNEL(oss);
#define NULL_PTR_ERR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, RPC_X_NULL_REF_POINTER)
......
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