Revision: 15942
Author: [email protected]
Date: Mon Jul 29 18:01:04 2013
Log: 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.
[email protected]
Review URL: https://codereview.chromium.org/20688002
Patch from Chunyang Dai <[email protected]>.
http://code.google.com/p/v8/source/detail?r=15942
Modified:
/branches/bleeding_edge/src/third_party/vtune/vtune-jit.cc
=======================================
--- /branches/bleeding_edge/src/third_party/vtune/vtune-jit.cc Mon Jun 24
07:21:14 2013
+++ /branches/bleeding_edge/src/third_party/vtune/vtune-jit.cc Mon Jul 29
18:01:04 2013
@@ -64,9 +64,14 @@
// 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>
+using namespace __gnu_cxx;
+#endif
#define __DEPRECATED OLD_DEPRECATED
-using namespace __gnu_cxx;
#endif
#include <list>
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.