aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-18 19:37:59 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-18 19:37:59 +0000
commit7976b357052ffd7ab26c4266dbd4dae863d8cbd5 (patch)
tree0ea7a4aa60ba2fc0b72012eb6af3c89a966f6113
parent09b95c30f2a0b4f4ab53488391199acb72dfaf1e (diff)
Merge the two conditional definitions of get_current_dir_name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26024 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--gui/mplayer/gtk/fs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/mplayer/gtk/fs.c b/gui/mplayer/gtk/fs.c
index 62191cade4..183a99801a 100644
--- a/gui/mplayer/gtk/fs.c
+++ b/gui/mplayer/gtk/fs.c
@@ -25,9 +25,7 @@
#ifndef __linux__
#define get_current_dir_name() getcwd(NULL, PATH_MAX)
-#endif
-
-#ifndef get_current_dir_name
+#else
extern char * get_current_dir_name( void );
#endif