From a2df0544eebb05b5be78fe6ce6358688d7df7de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sat, 28 Aug 2004 20:03:42 +0000 Subject: Various fixes and improvements of mingw port: - HAVE_SETENV - Cygwin build - win32/contrib Makefile CVS patchset: 6915 CVS date: 2004/08/28 20:03:42 --- src/xine-engine/load_plugins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/xine-engine/load_plugins.c') diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index f72a9107f..b85b1920a 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.184 2004/07/22 14:27:48 mroi Exp $ + * $Id: load_plugins.c,v 1.185 2004/08/28 20:03:42 valtri Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -494,7 +494,7 @@ static void collect_plugins(xine_t *this, char *path){ */ #if defined(__hpux) if(!strstr(str, ".sl")) -#elif defined(__CYGWIN__) +#elif defined(__CYGWIN__) || defined(WIN32) if(!strstr(str, ".dll")) #else if(!strstr(str, ".so")) @@ -1001,7 +1001,7 @@ void _x_scan_plugins (xine_t *this) { load_cached_catalog (this); if ( !(pluginpath = getenv("XINE_PLUGIN_PATH")) ){ -#ifndef _MSC_VER +#ifndef WIN32 pluginpath = "~/.xine/plugins:" XINE_PLUGINDIR; #else pluginpath = XINE_PLUGINDIR; -- cgit v1.2.3