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 /libdex | |
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 'libdex')
-rw-r--r-- | libdex/SysUtil.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libdex/SysUtil.h b/libdex/SysUtil.h index 4de028974..1f704f446 100644 --- a/libdex/SysUtil.h +++ b/libdex/SysUtil.h @@ -22,6 +22,10 @@ #include <sys/types.h> +#ifdef __cplusplus +extern "C" { +#endif + /* * System page size. Normally you're expected to get this from * sysconf(_SC_PAGESIZE) or some system-specific define (usually PAGESIZE @@ -119,4 +123,8 @@ int sysWriteFully(int fd, const void* buf, size_t count, const char* logMsg); */ int sysCopyFileToFile(int outFd, int inFd, size_t count); +#ifdef __cplusplus +} +#endif + #endif /*_DALVIK_SYSUTIL*/ |