#include "quakedef.h"
-#ifdef _WIN32
+#ifdef USE_DSOUND
#include <windows.h>
#include <dsound.h>
extern DWORD gSndBufSize;
else
clear = 0;
-#ifdef _WIN32
+#ifdef USE_DSOUND
if (pDSBuf)
{
DWORD dwSize;
void S_ExtraUpdate (void)
{
-#ifdef _WIN32
+#ifdef USE_DSOUND
IN_Accumulate ();
#endif
if (endtime > (unsigned int)(soundtime + samps))
endtime = soundtime + samps;
-#ifdef _WIN32
+#ifdef USE_DSOUND
// if the buffer was lost or stopped, restore it and/or restart it
{
DWORD dwStatus;