[MPlayer-cvslog] r36109 - trunk/gui/dialog/fileselect.c

ib subversion at mplayerhq.hu
Sun Mar 31 05:57:53 CEST 2013


Author: ib
Date: Sun Mar 31 05:57:53 2013
New Revision: 36109

Log:
Rephrase positively.

Additionally, add #include for PATH_MAX.

Modified:
   trunk/gui/dialog/fileselect.c

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Sun Mar 31 05:32:17 2013	(r36108)
+++ trunk/gui/dialog/fileselect.c	Sun Mar 31 05:57:53 2013	(r36109)
@@ -48,10 +48,11 @@
 #include "mpcommon.h"
 #include "stream/stream.h"
 
-#ifndef __linux__
-#define get_current_dir_name()  getcwd(NULL, PATH_MAX)
-#else
+#ifdef __linux__
 char *get_current_dir_name(void);
+#else
+#include <limits.h>
+#define get_current_dir_name() getcwd(NULL, PATH_MAX)
 #endif
 
 const char *fsSelectedFile = NULL;


More information about the MPlayer-cvslog mailing list