diff options
Diffstat (limited to 'vm/Profile.h')
-rw-r--r-- | vm/Profile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/Profile.h b/vm/Profile.h index b821394f4..12063b9a1 100644 --- a/vm/Profile.h +++ b/vm/Profile.h @@ -24,6 +24,10 @@ #include <stdio.h> +#ifdef __cplusplus +extern "C" { +#endif + struct Thread; // extern @@ -171,4 +175,8 @@ enum { #define METHOD_ACTION(_method) (((unsigned int)(_method)) & METHOD_ACTION_MASK) #define METHOD_COMBINE(_method, _action) ((_method) | (_action)) +#ifdef __cplusplus +} +#endif + #endif /*_DALVIK_PROFILE*/ |