diff options
author | Andy McFadden <fadden@android.com> | 2009-08-05 15:20:27 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2009-08-05 15:26:34 -0700 |
commit | 805cb2d36d87b86273d39d44860f6f19494b1bc4 (patch) | |
tree | 866057bb5ff77889e5f2e261c46b090d5677f348 | |
parent | 45983d23d8c664fc6c4f802a09f4de7e3d4aa5bf (diff) | |
download | libcore-805cb2d36d87b86273d39d44860f6f19494b1bc4.zip libcore-805cb2d36d87b86273d39d44860f6f19494b1bc4.tar.gz libcore-805cb2d36d87b86273d39d44860f6f19494b1bc4.tar.bz2 |
Switch to <stdbool.h> in the VM.
We were using an enum that made the compiler unhappy on MacOS X. This
switches us to using <stdbool.h> when it's available.
The size of a "bool" is either sizeof(_Bool) or sizeof(enum bool), and
the assembly sources dislike ambiguity, so this also changes
gDvm.debuggerActive to always be a single byte. The ARM and x86 code
was already assuming that -- held over from when enums were
variable-width, and never fixed because we get the right answer on
little-endian platforms -- so it doesn't look like we need to change
anything in mterp.
0 files changed, 0 insertions, 0 deletions