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> |