This patch is to support Vtune on Android platform.
The Vtune API provides the support for Android platform. So we fix the compilation issue and it works on Android platform. R=danno@chromium.org Review URL: https://codereview.chromium.org/20688002 Patch from Chunyang Dai <chunyang.dai@intel.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15942 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
c301f8203c
commit
1f9dc8b1bf
7
src/third_party/vtune/vtune-jit.cc
vendored
7
src/third_party/vtune/vtune-jit.cc
vendored
@ -64,10 +64,15 @@ using namespace std;
|
||||
// To avoid GCC 4.4 compilation warning about hash_map being deprecated.
|
||||
#define OLD_DEPRECATED __DEPRECATED
|
||||
#undef __DEPRECATED
|
||||
#if defined (ANDROID)
|
||||
#include <hash_map>
|
||||
using namespace std;
|
||||
#else
|
||||
#include <ext/hash_map>
|
||||
#define __DEPRECATED OLD_DEPRECATED
|
||||
using namespace __gnu_cxx;
|
||||
#endif
|
||||
#define __DEPRECATED OLD_DEPRECATED
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user