[MPlayer-cvslog] r30880 - trunk/get_path.c
komh
subversion at mplayerhq.hu
Wed Mar 10 11:00:59 CET 2010
Author: komh
Date: Wed Mar 10 11:00:59 2010
New Revision: 30880
Log:
Include osdep/osdep.h instead of checking a platfrom specific macro to include
a platform specific header.
Modified:
trunk/get_path.c
Modified: trunk/get_path.c
==============================================================================
--- trunk/get_path.c Tue Mar 9 20:21:39 2010 (r30879)
+++ trunk/get_path.c Wed Mar 10 11:00:59 2010 (r30880)
@@ -40,11 +40,10 @@
#elif defined(__CYGWIN__)
#include <windows.h>
#include <sys/cygwin.h>
-#elif defined(__OS2__)
-#define INCL_DOS
-#include <os2.h>
#endif
+#include "osdep/osdep.h"
+
char *get_path(const char *filename){
char *homedir;
char *buff;
More information about the MPlayer-cvslog
mailing list