Fix issue 128.
Review URL: http://codereview.chromium.org/8617 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@600 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
2c3fdd8e25
commit
a510287b66
@ -30,12 +30,21 @@
|
|||||||
#include "execution.h"
|
#include "execution.h"
|
||||||
#include "factory.h"
|
#include "factory.h"
|
||||||
#include "jsregexp.h"
|
#include "jsregexp.h"
|
||||||
#include "third_party/jscre/pcre.h"
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
#include "runtime.h"
|
#include "runtime.h"
|
||||||
#include "top.h"
|
#include "top.h"
|
||||||
#include "compilation-cache.h"
|
#include "compilation-cache.h"
|
||||||
|
|
||||||
|
// Including pcre.h undefines DEBUG to avoid getting debug output from
|
||||||
|
// the JSCRE implementation. Make sure to redefine it in debug mode
|
||||||
|
// after having included the header file.
|
||||||
|
#ifdef DEBUG
|
||||||
|
#include "third_party/jscre/pcre.h"
|
||||||
|
#define DEBUG
|
||||||
|
#else
|
||||||
|
#include "third_party/jscre/pcre.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace v8 { namespace internal {
|
namespace v8 { namespace internal {
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user