Skip to content

Commit

Permalink
sndio: Fix for some platforms (Linux, for example) that don't define …
Browse files Browse the repository at this point in the history
…INFTIM.

Fixes Bugzilla #3712.
  • Loading branch information
icculus committed Aug 7, 2017
1 parent 27de835 commit 9dde37e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/audio/sndio/SDL_sndioaudio.c
Expand Up @@ -44,6 +44,10 @@
#include "SDL_loadso.h"
#endif

#ifndef INFTIM
#define INFTIM -1
#endif

static struct sio_hdl * (*SNDIO_sio_open)(const char *, unsigned int, int);
static void (*SNDIO_sio_close)(struct sio_hdl *);
static int (*SNDIO_sio_setpar)(struct sio_hdl *, struct sio_par *);
Expand Down

0 comments on commit 9dde37e

Please sign in to comment.