mirror of https://github.com/encounter/SDL.git
sndio: Fix for some platforms (Linux, for example) that don't define INFTIM.
Fixes Bugzilla #3712.
This commit is contained in:
parent
27de835dd2
commit
9dde37eadb
|
@ -44,6 +44,10 @@
|
||||||
#include "SDL_loadso.h"
|
#include "SDL_loadso.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef INFTIM
|
||||||
|
#define INFTIM -1
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct sio_hdl * (*SNDIO_sio_open)(const char *, unsigned int, int);
|
static struct sio_hdl * (*SNDIO_sio_open)(const char *, unsigned int, int);
|
||||||
static void (*SNDIO_sio_close)(struct sio_hdl *);
|
static void (*SNDIO_sio_close)(struct sio_hdl *);
|
||||||
static int (*SNDIO_sio_setpar)(struct sio_hdl *, struct sio_par *);
|
static int (*SNDIO_sio_setpar)(struct sio_hdl *, struct sio_par *);
|
||||||
|
|
Loading…
Reference in New Issue