[vlc-commits] commit: Do not implicitly define MODULE_NAME ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat Nov 6 12:25:02 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov  6 12:52:12 2010 +0200| [acfecaeadf47cb40d15d8a4011f5d652c58a7b39] | committer: Rémi Denis-Courmont 

Do not implicitly define MODULE_NAME

We want compilation to fail if this is missing.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=acfecaeadf47cb40d15d8a4011f5d652c58a7b39
---

 include/vlc_plugin.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 4bb073e..e65dd45 100644
--- a/include/vlc_plugin.h
+++ b/include/vlc_plugin.h
@@ -110,13 +110,6 @@ enum vlc_module_properties
     /* Insert new VLC_CONFIG_* here */
 };
 
-/*****************************************************************************
- * If we are not within a module, assume we're in the vlc core.
- *****************************************************************************/
-#if !defined( __PLUGIN__ ) && !defined( __BUILTIN__ )
-#   define MODULE_NAME main
-#endif
-
 /**
  * Current plugin ABI version
  */



More information about the vlc-commits mailing list