Преглед на файлове

sndio: Fix for some platforms (Linux, for example) that don't define INFTIM.

Fixes Bugzilla #3712.
Ryan C. Gordon преди 8 години
родител
ревизия
9dde37eadb
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      src/audio/sndio/SDL_sndioaudio.c

+ 4 - 0
src/audio/sndio/SDL_sndioaudio.c

@@ -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 *);