]> git.sesse.net Git - vlc/blobdiff - include/vlc_rand.h
Use ifdef's to guard against setlocale() in vlc-cache-gen
[vlc] / include / vlc_rand.h
index 8a5232f9162287de1be5e2f787c114d50f2fd9cd..56e07affa8179e4fd54966b63e717f96e37b8fc4 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
+#ifndef VLC_RAND_H
+# define VLC_RAND_H
 
-#ifndef _VLC_RAND_H
-# define _VLC_RAND_H
+/**
+ * \file
+ * This file defined random number generator function in vlc
+ */
 
 VLC_EXPORT( void, vlc_rand_bytes, (void *buf, size_t len) );