Try to let it compile on other platforms
commitad942b63d7a9b984752f46bc2049fe10e488230d
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)
tree71e47ecb9d1e00b996a7e291fef9d4dda1f82386
parent3d80c99f3817bf5eccd6acc6a79498a4fde979a4
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