vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Wed Nov 24 
15:02:29 2010 +0100| [795d78fccc11545e37b82479e9cf7c22a9cb79d1] | committer: 
Jean-Baptiste Kempf 

Symbian: Return 1 as cpu number

TODO: use HAL or another way

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

 src/misc/cpu.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 811298a..a200936 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -353,6 +353,8 @@ unsigned vlc_GetCPUCount(void)
         system_mask >>= 1;
     }
     return count;
+#elif defined(__SYMBIAN32__)
+    return 1;
 #elif defined(HAVE_SCHED_GETAFFINITY)
     cpu_set_t cpu;
     CPU_ZERO(&cpu);

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to