From: Cheng Zhao Date: Tue, 25 Feb 2014 10:24:07 +0000 (+0800) Subject: Do not define _DEBUG. X-Git-Tag: v0.10.1~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a5ec8a9110de65eec4494c7588e2bb0bf1c5c24a;p=electron.git Do not define _DEBUG. The vc++ compiler would define some internal contants if we define _DEBUG, since we are linking to the release build of chromiumcontent, this would result in linking errors. --- diff --git a/atom.gyp b/atom.gyp index a419ae94..bf5b950d 100644 --- a/atom.gyp +++ b/atom.gyp @@ -232,7 +232,7 @@ ], 'configurations': { 'Debug': { - 'defines': [ 'DEBUG', '_DEBUG' ], + 'defines': [ 'DEBUG' ], 'cflags': [ '-g', '-O0' ], }, },