Commit 43a0fe32 authored by Gildas Bazin's avatar Gildas Bazin

* src/misc/modules.c: win32 compilation fix.

parent 9549f78f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* modules.c : Builtin and plugin modules management functions * modules.c : Builtin and plugin modules management functions
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.136 2003/10/05 21:29:23 sam Exp $ * $Id: modules.c,v 1.137 2003/10/07 09:32:48 gbazin Exp $
* *
* Authors: Sam Hocevar <sam@zoy.org> * Authors: Sam Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com> * Ethan C. Baldridge <BaldridgeE@cadmus.com>
...@@ -859,6 +859,7 @@ static int AllocatePluginFile( vlc_object_t * p_this, MYCHAR * psz_file ) ...@@ -859,6 +859,7 @@ static int AllocatePluginFile( vlc_object_t * p_this, MYCHAR * psz_file )
} }
#elif defined(HAVE_DL_WINDOWS) && defined(WIN32) #elif defined(HAVE_DL_WINDOWS) && defined(WIN32)
char psz_filename[MAX_PATH];
handle = LoadLibrary( psz_file ); handle = LoadLibrary( psz_file );
if( handle == NULL ) if( handle == NULL )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment