commit | e05a895dc89a424acab1927a62f840f41b00aa3f | [log] [tgz] |
---|---|---|
author | nirnimesh@chromium.org <nirnimesh@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | Tue Mar 02 20:53:01 2010 |
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | Tue Mar 02 20:53:01 2010 |
tree | 09e54df9d565962b18cfef1ab7057063d67b3403 | |
parent | 5fc440767259917a32de95c3936a35807553b22e [diff] |
Prepare swig for running pyauto on win. Work around a weird python nag on win. Python.h uses a _DEBUG macro to conditionally load debug version of the python lib. This conflicts with MSVS which defines _DEBUG in Debug configuration. This change works around this problem by including Python.h without the _DEBUG macro, since we don't want to debug python itself in any case. Accompanying CL in Cr src: http://codereview.chromium.org/661342 Review URL: http://codereview.chromium.org/661334 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/swig/Lib@40423 4ff67af0-8c30-449e-8e8b-ad334ec8d88c