From af018f7e4fe90b058d45a8ff803af4dcf759a7ce Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 18 Sep 2013 19:26:26 +0200 Subject: macosx: move bundle path stuff to path-macosx.m This makes the code uniform to how stuff was handled for Windows in 1cb55ceb. --- osdep/path.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'osdep/path.h') 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 -- cgit v1.2.3