diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-09-18 19:26:26 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-09-18 19:30:11 +0200 |
commit | af018f7e4fe90b058d45a8ff803af4dcf759a7ce (patch) | |
tree | 8f882aa5c55c79ca4d560117762e10effb690faf /osdep/path.h | |
parent | 1cb55cebf981af3983efbddccfeedc2b776ee5fd (diff) | |
download | mpv-af018f7e4fe90b058d45a8ff803af4dcf759a7ce.tar.bz2 mpv-af018f7e4fe90b058d45a8ff803af4dcf759a7ce.tar.xz |
macosx: move bundle path stuff to path-macosx.m
This makes the code uniform to how stuff was handled for Windows in 1cb55ceb.
Diffstat (limited to 'osdep/path.h')
-rw-r--r-- | osdep/path.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/osdep/path.h b/osdep/path.h index 26b8cd344e..0a5091bc3d 100644 --- a/osdep/path.h +++ b/osdep/path.h @@ -1,8 +1,15 @@ #ifndef OSDEP_PATH_H #define OSDEP_PATH_H +#include "config.h" + #ifdef _WIN32 char *mp_get_win_config_path(const char *filename); #endif +#ifdef CONFIG_COCOA +// Returns absolute path of a resource file in a Mac OS X application bundle. +char *mp_get_macosx_bundled_path(const char *filename); +#endif + #endif |