]> git.sesse.net Git - vlc/blobdiff - include/vlc_devices.h
libvlc core release test added
[vlc] / include / vlc_devices.h
index d3c98717fd7d739c4da3f10632bde7b66de3da63..9485d54c0ad62dfe3810dfa287dd02560ab88664 100644 (file)
@@ -2,7 +2,7 @@
  * vlc_devices.h : Devices handling
  *****************************************************************************
  * Copyright (C) 1999-2006 the VideoLAN team
- * $Id: vlc_input.h 15915 2006-06-15 21:22:35Z zorglub $
+ * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
  *
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
-#if 0
+
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_DEVICES_H
 #define _VLC_DEVICES_H 1
 
@@ -61,4 +65,3 @@ static inline void device_GetDVD(void)
 }
 
 #endif
-#endif