mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
{demux_mf,osdep/io}: disable glob usage when it is not available
This currently is only limited to Android. Its stdlib contains the
things that mpv's POSIX check checks for, but unfortunately not
glob().
This fixes Android compilation broken in 70a70b9da .
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#if HAVE_POSIX
|
||||
#if HAVE_GLOB_POSIX
|
||||
#include <glob.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user