Index: src/debug-agent.h |
=================================================================== |
--- src/debug-agent.h (revision 1738) |
+++ src/debug-agent.h (working copy) |
@@ -28,12 +28,12 @@ |
#ifndef V8_V8_DEBUG_AGENT_H_ |
#define V8_V8_DEBUG_AGENT_H_ |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
#include "../include/v8-debug.h" |
#include "platform.h" |
namespace v8 { namespace internal { |
- |
// Forward decelrations. |
class DebuggerAgentSession; |
@@ -111,7 +111,8 @@ |
static int ReceiveAll(const Socket* conn, char* data, int len); |
}; |
- |
} } // namespace v8::internal |
+#endif // ENABLE_DEBUGGER_SUPPORT |
+ |
#endif // V8_V8_DEBUG_AGENT_H_ |