summaryrefslogtreecommitdiff
path: root/src/xine-engine/load_plugins.c
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-08-28 20:03:42 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-08-28 20:03:42 +0000
commita2df0544eebb05b5be78fe6ce6358688d7df7de8 (patch)
treebb010c34eda20e9041d405038ca1d441266cbbf5 /src/xine-engine/load_plugins.c
parent202bc840c6d4821d24a8b5b0c44037e2b38ee79d (diff)
downloadxine-lib-a2df0544eebb05b5be78fe6ce6358688d7df7de8.tar.gz
xine-lib-a2df0544eebb05b5be78fe6ce6358688d7df7de8.tar.bz2
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
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r--src/xine-engine/load_plugins.c6
1 files changed, 3 insertions, 3 deletions
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;