Commit 469e9790 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Add vlc_cpu.h header file to src/misc/modules.c

parent 8a0b7f8b
...@@ -113,6 +113,8 @@ ...@@ -113,6 +113,8 @@
#include "vlc_update.h" #include "vlc_update.h"
#include "vlc_strings.h" #include "vlc_strings.h"
#include "vlc_cpu.h"
#if defined( _MSC_VER ) && defined( UNDER_CE ) #if defined( _MSC_VER ) && defined( UNDER_CE )
# include "modules_builtin_evc.h" # include "modules_builtin_evc.h"
#elif defined( _MSC_VER ) #elif defined( _MSC_VER )
...@@ -490,7 +492,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability, ...@@ -490,7 +492,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
continue; continue;
} }
/* Test if we have the required CPU */ /* Test if we have the required CPU */
if( (p_module->i_cpu & p_this->p_libvlc->i_cpu) != p_module->i_cpu ) if( (p_module->i_cpu & p_this->p_libvlc->i_cpu) != p_module->i_cpu )
{ {
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment