]> git.sesse.net Git - vlc/commitdiff
* ./src/misc/modules.c: Fixed a compile issue under platforms without
authorJon Lech Johansen <jlj@videolan.org>
Sat, 12 Jan 2002 21:58:56 +0000 (21:58 +0000)
committerJon Lech Johansen <jlj@videolan.org>
Sat, 12 Jan 2002 21:58:56 +0000 (21:58 +0000)
    HAVE_DYNAMIC_PLUGINS.

src/misc/modules.c

index d617f2675e89b7b78ff22d861620f1ed9a699cff..c8aedb4959674304acafcf29a033589ebaeb222f 100644 (file)
@@ -2,7 +2,7 @@
  * modules.c : Built-in and plugin modules management functions
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: modules.c,v 1.47 2002/01/09 02:01:14 sam Exp $
+ * $Id: modules.c,v 1.48 2002/01/12 21:58:56 jlj Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Ethan C. Baldridge <BaldridgeE@cadmus.com>
@@ -92,7 +92,9 @@ static int  HideModule   ( module_t * );
 static int  CallSymbol   ( module_t *, char * );
 #endif
 
+#ifdef HAVE_DYNAMIC_PLUGINS
 static module_symbols_t symbols;
+#endif
 
 /*****************************************************************************
  * module_InitBank: create the module bank.
@@ -109,7 +111,9 @@ void module_InitBank( void )
     /*
      * Store the symbols to be exported
      */
+#ifdef HAVE_DYNAMIC_PLUGINS
     STORE_SYMBOLS( &symbols );
+#endif
 
     /*
      * Check all the built-in modules