test/libmpv_test_track_selection: fix compilation with Windows SDK
This commit is contained in:
1 parent
5870c95e89
commit
06a983ef2f
1 file changed
+7
-2
@@ -15,18 +15,23 @@
|
||||
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "libmpv_common.h"
|
||||
|
||||
#ifndef F_OK
|
||||
#define F_OK 0
|
||||
#endif
|
||||
|
||||
static bool have_english_locale(void)
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
|
||||
Reference in new issue
Block a user