Index: src/d8.gyp |
diff --git a/src/d8.gyp b/src/d8.gyp |
index cce8f2a1fb0782738648dd9f09d4fd40b22d14a8..7a747d8980de34419e3d56945441bba900cd2931 100644 |
--- a/src/d8.gyp |
+++ b/src/d8.gyp |
@@ -48,6 +48,7 @@ |
[ 'console=="readline"', { |
'libraries': [ '-lreadline', ], |
'sources': [ 'd8-readline.cc' ], |
+ 'defines': ['USE_READLINE_CONSOLE'], |
}], |
[ 'component!="shared_library"', { |
'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], |