Revision: 7680 Author: [email protected] Date: Tue Apr 26 06:26:05 2011 Log: Fix compilation of D8 with console=readline
BUG= TEST= Review URL: http://codereview.chromium.org//6901027 http://code.google.com/p/v8/source/detail?r=7680 Modified: /branches/bleeding_edge/src/d8-readline.cc ======================================= --- /branches/bleeding_edge/src/d8-readline.cc Tue Dec 7 03:01:02 2010 +++ /branches/bleeding_edge/src/d8-readline.cc Tue Apr 26 06:26:05 2011 @@ -30,6 +30,8 @@ #include <readline/readline.h> // NOLINT #include <readline/history.h> // NOLINT +// The readline includes leaves RETURN defined which breaks V8 compilation. +#undef RETURN #include "d8.h" -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
