[vlc-commits] commit: WinCE: fix vlc_GetCPUCount() (Pierre Ynard )
git at videolan.org
git at videolan.org
Tue May 4 05:46:26 CEST 2010
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue May 4 05:43:36 2010 +0200| [8f2f41dcc6a3868b40833d5247143e6d7f387288] | committer: Pierre Ynard
WinCE: fix vlc_GetCPUCount()
The function used by the Win32 implementation is not available, so just
leave it unimplemented.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8f2f41dcc6a3868b40833d5247143e6d7f387288
---
src/misc/cpu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index fb705a2..cc350ec 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -323,7 +323,7 @@ const struct
*/
unsigned vlc_GetCPUCount(void)
{
-#ifdef WIN32
+#if defined(WIN32) && !defined(UNDER_CE)
DWORD process_mask;
DWORD system_mask;
if (!GetProcessAffinityMask(GetCurrentProcess(), &process_mask, &system_mask))
More information about the vlc-commits
mailing list