From: sgjesse@chromium.org Date: Tue, 26 Apr 2011 13:26:05 +0000 (+0000) Subject: Fix compilation of D8 with console=readline X-Git-Tag: upstream/4.7.83~19576 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24a9d52d3d6e7ee33b1a16458e2f291084d415fd;p=platform%2Fupstream%2Fv8.git Fix compilation of D8 with console=readline BUG= TEST= Review URL: http://codereview.chromium.org//6901027 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7680 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/d8-readline.cc b/src/d8-readline.cc index 67fc9eff7..08395e53d 100644 --- a/src/d8-readline.cc +++ b/src/d8-readline.cc @@ -30,6 +30,8 @@ #include // NOLINT #include // NOLINT +// The readline includes leaves RETURN defined which breaks V8 compilation. +#undef RETURN #include "d8.h"