summaryrefslogtreecommitdiffstats
path: root/get_path.c
Commit message (Collapse)AuthorAgeFilesLines
* Add missing 'void' to parameterless function declarations.diego2009-05-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use OS preprocessor checks with '#if defined()' consistently.diego2009-01-301-3/+3
| | | | | | | Avoids undefined preprocessor directives warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28399 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Merge some preprocessor checks.diego2008-10-161-9/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27783 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-131-2/+2
| | | | | | | This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing Cygwin header, fixes the warning:diego2008-10-131-1/+6
| | | | | | | | get_path.c:151: warning: implicit declaration of function `cygwin_conv_to_full_w in32_path' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27756 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give a CONFIG_ prefix to preprocessor directives that lacked one anddiego2008-08-071-3/+3
| | | | | | | change arbitrary prefixes to CONFIG_. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-301-6/+6
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* File was missing its dedicated header inclusion.ben2008-07-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27316 b3059339-0415-0410-9bf9-f77b7e298cf2
* On OS/2, fall back on the directory where MPlayer is installed if both diego2008-02-241-0/+24
| | | | | | | | MPLAYER_HOME and HOME are not set. patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26088 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix up whitespace, indentation and similar things.diego2007-08-291-28/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24287 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix linking on Windows.diego2007-08-291-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24286 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up the way get_path is handled: Compile get_path.c to an object to linkdiego2007-08-281-3/+6
| | | | | | | | against instead of directly #including the C file and replace the many extern declarations by a proper header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some more useless *alloc castsreimar2007-07-191-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23826 b3059339-0415-0410-9bf9-f77b7e298cf2
* get_path as const, patch by Stefan Huehner, stefan AT huehner-orgreynaldo2006-07-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow the user to set the $MPLAYER_HOME environment variable to point to the ↵albeu2005-10-291-1/+3
| | | | | | | | | | | location were they want mplayer to store its configuration stuff. Patch by Nikolai Weibull (nikolai _(dot)_ weibull _(at)_ gmail _(dot)_ com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16873 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow mencoder to load win32 codecs properly patch by Zuxy <zuxy.meng at ↵faust32005-10-161-0/+38
| | | | | | gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16782 b3059339-0415-0410-9bf9-f77b7e298cf2
* compare resource url with bundle url, if its the same path do not use has ↵nplourde2005-06-031-16/+30
| | | | | | conf file location. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15626 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace Carbon.h by coreFoundation.h, fix build with x11 enable on mac osx ↵nplourde2005-04-221-1/+1
| | | | | | with --enable-macosx-bundle enable git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15238 b3059339-0415-0410-9bf9-f77b7e298cf2
* allows the Mac OS X version of MPlayer to look for its data files inside the ↵nplourde2005-04-131-0/+45
| | | | | | Resources directory of the appwrapper. patch by Chris Roccati <roccati@pobox.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15146 b3059339-0415-0410-9bf9-f77b7e298cf2
* added src level documentation for the get_path() functional2004-07-231-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make it compile on mingw again. Now it is finally possible to include ↵faust32004-04-301-1/+0
| | | | | | windows.h in mplayer.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12359 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cygwin should behave like a Unix environment, i.e. config files should bediego2003-04-301-1/+1
| | | | | | | in .mplayer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10027 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lfaust32003-04-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9930 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow config file loading outside of cygwin environmentfaust32003-04-181-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9927 b3059339-0415-0410-9bf9-f77b7e298cf2
* some debuggingarpi2001-12-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3747 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanuparpi2001-10-301-0/+22
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2558 b3059339-0415-0410-9bf9-f77b7e298cf2