Index: src/v8.h |
=================================================================== |
--- src/v8.h (revision 661) |
+++ src/v8.h (working copy) |
@@ -38,6 +38,10 @@ |
// If both are defined in Google3, then we are building an optimized v8 with |
// assertions enabled. |
#undef NDEBUG |
+#elif !defined(DEBUG) && !defined(NDEBUG) |
+// If neither is defined in Google3, then we are building a debug v8. Mark it |
+// as such. |
+#define DEBUG |
Feng Qian
2008/11/04 22:05:53
This is a big confusing. Maybe you should explain
|
#endif |
#endif // defined(GOOGLE3) |