comparison gui/mplayer/gtk/fs.c @ 25992:a9e86b2def64

Merge the two conditional definitions of get_current_dir_name.
author diego
date Mon, 18 Feb 2008 19:37:59 +0000
parents 8a0adeba5910
children 782f62eb1953
comparison
equal deleted inserted replaced
25991:ccdb4a59d00f 25992:a9e86b2def64
23 #include "opts.h" 23 #include "opts.h"
24 #include "gtk_common.h" 24 #include "gtk_common.h"
25 25
26 #ifndef __linux__ 26 #ifndef __linux__
27 #define get_current_dir_name() getcwd(NULL, PATH_MAX) 27 #define get_current_dir_name() getcwd(NULL, PATH_MAX)
28 #endif 28 #else
29
30 #ifndef get_current_dir_name
31 extern char * get_current_dir_name( void ); 29 extern char * get_current_dir_name( void );
32 #endif 30 #endif
33 31
34 gchar * fsSelectedFile = NULL; 32 gchar * fsSelectedFile = NULL;
35 gchar * fsSelectedDirectory = NULL; 33 gchar * fsSelectedDirectory = NULL;