Commit Graph

24 Commits

Author SHA1 Message Date
diego 11e54c5b67 cosmetics: Merge some preprocessor checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27783 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:14:35 +00:00
diego 4d644f513c Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
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
2008-10-13 16:23:55 +00:00
diego d5f8f8dc74 Add missing Cygwin header, fixes the warning:
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
2008-10-13 14:55:01 +00:00
diego e0b1c9a6b7 Give a CONFIG_ prefix to preprocessor directives that lacked one and
change arbitrary prefixes to CONFIG_.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:20:50 +00:00
diego 4b141479da Start unifying names of internal preprocessor directives.
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
2008-07-30 12:01:30 +00:00
ben ca39f4d10f File was missing its dedicated header inclusion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27316 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 19:37:19 +00:00
diego 160b9e62dc On OS/2, fall back on the directory where MPlayer is installed if both
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
2008-02-24 12:41:51 +00:00
diego b2481156c3 cosmetics: Fix up whitespace, indentation and similar things.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24287 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 09:43:00 +00:00
diego 38af490489 Fix linking on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24286 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 09:31:44 +00:00
diego 84157efa5a Clean up the way get_path is handled: Compile get_path.c to an object to link
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
2007-08-28 11:20:24 +00:00
reimar e607c7289f Remove some more useless *alloc casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23826 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-19 13:52:39 +00:00
reynaldo 132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
albeu b4f2bc353b Allow the user to set the $MPLAYER_HOME environment variable to point to the 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
2005-10-29 12:16:46 +00:00
faust3 dbc1f67ca2 allow mencoder to load win32 codecs properly patch by Zuxy <zuxy.meng at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16782 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-16 19:14:09 +00:00
nplourde fc2cce6462 compare resource url with bundle url, if its the same path do not use has conf file location.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15626 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-03 14:52:15 +00:00
nplourde 8b495b579c replace Carbon.h by coreFoundation.h, fix build with x11 enable on mac osx with --enable-macosx-bundle enable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15238 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-22 12:45:29 +00:00
nplourde 55adc096e1 allows the Mac OS X version of MPlayer to look for its data files inside the 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
2005-04-13 11:46:35 +00:00
al 8791d149b7 added src level documentation for the get_path() function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12892 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-23 16:35:20 +00:00
faust3 0af4151b05 Make it compile on mingw again. Now it is finally possible to include windows.h in mplayer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12359 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-30 16:56:00 +00:00
diego c36a1c25ba Cygwin should behave like a Unix environment, i.e. config files should be
in .mplayer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10027 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-30 18:16:21 +00:00
faust3 882b7c4d89 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9930 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 20:11:36 +00:00
faust3 c24c7d909e allow config file loading outside of cygwin environment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9927 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 18:17:05 +00:00
arpi 09c0165a2f some debugging
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3747 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 20:41:04 +00:00
arpi d4b7a18b00 some cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2558 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 17:04:59 +00:00