Try to let it compile on other platforms
commitc0e7a365e55ed7a986a47d7bcaf62055d3130912
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 24 Sep 2012 21:15:53 +0000 (24 17:15 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 24 Sep 2012 21:15:53 +0000 (24 17:15 -0400)
treed3f0f2959ea0d3798459ea4af549f5bc0e03b22c
parent68c43a7f2779a3aafe75ef0e2e5be4664c2e3ea5
Try to let it compile on other platforms
* src/profiler.c (evict_lower_half): Fix typo.
(PROFILER_CPU_SUPPORT): Check and define if cpu-profiler is supported.
Don't compile the cpu-profiler code, if not supported.
(malloc_probe): Presume memory_log is non-nil.
(syms_of_profiler): Don't defsubr functions when they aren't defined.
* src/lisp.h (sample_profiler_running, gc_probe): Don't declare.
lisp/profiler.el
src/ChangeLog
src/lisp.h
src/profiler.c
src/xdisp.c