Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Unified Diff: samples/lineprocessor.cc

Issue 10702093: Fix compilation when disabling debugger support. (Closed) Base URL: ssh://dinauz.org/home/ivoire/projects/v8.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/liveedit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/lineprocessor.cc
diff --git a/samples/lineprocessor.cc b/samples/lineprocessor.cc
index 23e02142691dd1541b04c34d8fc2fb20717e069e..b9d2f381cb862cc70bce07716850d57d4daa2c07 100644
--- a/samples/lineprocessor.cc
+++ b/samples/lineprocessor.cc
@@ -31,7 +31,9 @@
// are responsible for debugging support.
// Note that V8 itself should be compiled with enabled debugger support
// to have it all working.
-#define SUPPORT_DEBUGGING
+#ifdef ENABLE_DEBUGGER_SUPPORT
+# define SUPPORT_DEBUGGING
+#endif
#include <v8.h>
« no previous file with comments | « no previous file | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698