2008/8/29 <[EMAIL PROTECTED]>

> Author:       caro
> Date:         2008-08-29 06:34:30 -0700 (Fri, 29 Aug 2008)
> New Revision: 35730
>
> Modified:
>  trunk/PROTO/eina/src/lib/eina_counter.c
> Log:
>
> port eina_counter code to Windows.
>
>
> @@ -74,6 +101,14 @@
>      {
>        eina_error_init();
>        EINA_COUNTER_ERROR_OUT_OF_MEMORY  =
> eina_error_register("Eina_Counter out of memory");
> +#ifdef _WIN32
> +        if (!QueryPerformanceFrequency(&_eina_counter_frequency))
> +          {
> +             EINA_COUNTER_ERROR_WINDOWS = eina_error_register("Change your
> OS, you moron !");
> +             _eina_counter_init_count--;
> +             return 0;
> +          }
> +#endif /* _WIN2 */
>      }
>
>      }
>  }
>
>
I think this is not Microsoft's fault this time. In win CE OS, this function
is provided by OEM. So QueryPerformanceFrequency should not succedded if
guys that provided your BSP doesn't have code this function. In case of
Windows XP/Vista whatever OS I agree with you, change your OS :D

-- 
Nicolas Aguirre
Mail: [EMAIL PROTECTED]
Web: http://www.digital-corner.org
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to