Skip to content

Commit 209cb94

Browse files
committed
test: test
1 parent 91202b5 commit 209cb94

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

options/path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
// In order of decreasing priority: the first has highest priority.
4343
static const mp_get_platform_path_cb path_resolvers[] = {
4444
#if HAVE_COCOA
45-
mp_get_platform_path_mac,
45+
//mp_get_platform_path_mac,
4646
#endif
4747
#if HAVE_DARWIN
4848
mp_get_platform_path_darwin,

osdep/path-mac.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "options/path.h"
2020
#include "osdep/path.h"
2121

22-
const char *mp_get_platform_path_mac(void *talloc_ctx, const char *type)
22+
/*const char *mp_get_platform_path_mac(void *talloc_ctx, const char *type)
2323
{
2424
if (strcmp(type, "osxbundle") == 0 && getenv("MPVBUNDLE")) {
2525
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
@@ -31,4 +31,4 @@
3131
if (strcmp(type, "desktop") == 0 && getenv("HOME"))
3232
return mp_path_join(talloc_ctx, getenv("HOME"), "Desktop");
3333
return NULL;
34-
}
34+
}*/

osdep/path.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef const char *(*mp_get_platform_path_cb)(void *talloc_ctx, const char *typ
2626
const char *mp_get_platform_path_darwin(void *talloc_ctx, const char *type);
2727
const char *mp_get_platform_path_uwp(void *talloc_ctx, const char *type);
2828
const char *mp_get_platform_path_win(void *talloc_ctx, const char *type);
29-
const char *mp_get_platform_path_mac(void *talloc_ctx, const char *type);
29+
//const char *mp_get_platform_path_mac(void *talloc_ctx, const char *type);
3030
const char *mp_get_platform_path_unix(void *talloc_ctx, const char *type);
3131

3232
#endif

0 commit comments

Comments
 (0)