diff options
author | Carl Shapiro <cshapiro@google.com> | 2011-04-08 13:11:58 -0700 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2011-04-08 13:11:58 -0700 |
commit | ae188c676c681e47a93ade7fdf0144099b470e03 (patch) | |
tree | 0d7242995ffc8cfd11e484334786841ddc7bc2b5 /vm/Debugger.h | |
parent | a72475036290f55cd578dd15f65922dd01fbd3ce (diff) | |
download | android_dalvik-ae188c676c681e47a93ade7fdf0144099b470e03.tar.gz android_dalvik-ae188c676c681e47a93ade7fdf0144099b470e03.tar.bz2 android_dalvik-ae188c676c681e47a93ade7fdf0144099b470e03.zip |
Compile the garbage collector and heap profiler as C++.
Change-Id: I25d8fa821987a3dd6d7109d07fd42dbf2fe0e589
Diffstat (limited to 'vm/Debugger.h')
-rw-r--r-- | vm/Debugger.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/vm/Debugger.h b/vm/Debugger.h index 9a45b393d..dd9679f62 100644 --- a/vm/Debugger.h +++ b/vm/Debugger.h @@ -21,10 +21,14 @@ #ifndef _DALVIK_DEBUGGER #define _DALVIK_DEBUGGER +#include <pthread.h> #include "Common.h" #include "Misc.h" #include "jdwp/Jdwp.h" -#include <pthread.h> + +#ifdef __cplusplus +extern "C" { +#endif /* fwd decl */ struct Object; @@ -307,4 +311,8 @@ void dvmDbgDdmSendChunkV(int type, const struct iovec* iov, int iovcnt); #define CHUNK_TYPE(_name) \ ((_name)[0] << 24 | (_name)[1] << 16 | (_name)[2] << 8 | (_name)[3]) +#ifdef __cplusplus +} +#endif + #endif /*_DALVIK_DEBUGGER*/ |