]> git.sesse.net Git - vlc/blobdiff - include/vlc_modules_macros.h
A bit of vlc/libvlc cleanup:
[vlc] / include / vlc_modules_macros.h
index 1d403642242823ea60cd5826e7f19b1d8862814c..b4c4988ee16eb7ca3cc4e888491ae3ae90eb697d 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 /*****************************************************************************
  * If we are not within a module, assume we're in the vlc core.
  *****************************************************************************/