]> git.sesse.net Git - vlc/blobdiff - include/main.h
* Removed unused code (intf_channels.c, keystrokes.h).
[vlc] / include / main.h
index 80793fc4df34ec3f429903dc1f8404d3e3344491..6e3398661f41b85293fd2b4222c3686c683ba648 100644 (file)
@@ -3,7 +3,7 @@
  * Declaration and extern access to global program object.
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: main.h,v 1.25 2001/12/07 18:33:07 sam Exp $
+ * $Id: main.h,v 1.26 2001/12/10 04:53:10 sam Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *
@@ -65,7 +65,11 @@ typedef struct main_s
     p_input_channel_t      p_channel;                /* channel library data */
 } main_t;
 
+#ifndef PLUGIN
 extern main_t *p_main;
+#else
+#   define p_main (p_symbols->p_main)
+#endif
 
 /*****************************************************************************
  * Prototypes - these methods are used to get default values for some threads