1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00

Don't #error if defined(mps_build_ll) and __has_builtin(__builtin_readcyclecounter). put a todo here instead, referencing job003411.

Copied from Perforce
 Change: 180903
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2013-02-04 16:40:28 +00:00
parent a7a2404b83
commit afd7af371b

View file

@ -21,14 +21,13 @@
* RB 2012-09-11
*/
/* TODO: Clang supposedly provides a cross-platform builtin for a fast
timer, but it doesn't seem to be present on Mac OS X 10.8. We should
use it if it ever appears.
/* Clang provides a cross-platform builtin for a fast timer, but it
was not available on Mac OS X 10.8 until the release of XCode 4.6.
<http://clang.llvm.org/docs/LanguageExtensions.html#builtins> */
#if defined(MPS_BUILD_LL)
#if __has_builtin(__builtin_readcyclecounter)
#error "__builtin_readcyclecounter is available but not used"
/* TODO: use this for EVENT_CLOCK. See job003411. */
#endif /* __has_builtin(__builtin_readcyclecounter) */
#endif