OSDN Git Service

Clean up some #ifdefs.
authorElliott Hughes <enh@google.com>
Fri, 9 Jan 2015 23:16:16 +0000 (15:16 -0800)
committerElliott Hughes <enh@google.com>
Fri, 9 Jan 2015 23:16:16 +0000 (15:16 -0800)
commit0a18df82f4dea95b7398f8c934341fccbf04eeee
tree125c8285763ffc6d9c00b27eaed6a7aad5b317ee
parent553727e466942a10e11ee39dcb67e3f9562b471e
Clean up some #ifdefs.

Only the Mac doesn't have POSIX clocks. (And it still doesn't, a decade
later.)

glibc gained pthread_setname_np in 2.12.

Only the Mac doesn't have prctl.

Change-Id: I218e409f7e133736e15fb68e8a254cdc5799d667
runtime/globals.h
runtime/native/dalvik_system_ZygoteHooks.cc
runtime/thread.cc
runtime/trace.cc
runtime/utils.cc