diff options
author | Tim Crews <tim@code-affinity.com> | 2013-06-16 12:39:30 -0700 |
---|---|---|
committer | Tim Crews <tim@code-affinity.com> | 2013-06-16 12:39:30 -0700 |
commit | 4bcaa45f1663ca4ce3399ae412642624050c5060 (patch) | |
tree | 9bec008355d592494bd9bf4274e56b48f76cc68a /src/pyinterp.cc | |
parent | 0c071d6e1c52006e1a582ccb1ba5b2c31e6bc1d8 (diff) | |
download | fork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.tar.gz fork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.tar.bz2 fork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.zip |
Additional changes required for MSVC to compile ledger.
These changes only matter if ledger is compiled with USE_PYTHON.
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r-- | src/pyinterp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc index 3354d3e9..e15ff503 100644 --- a/src/pyinterp.cc +++ b/src/pyinterp.cc @@ -320,7 +320,7 @@ value_t python_interpreter_t::python_command(call_scope_t& args) if (! is_initialized) initialize(); - char ** argv(new char *[args.size() + 1]); + char ** argv = new char *[args.size() + 1]; argv[0] = new char[std::strlen(argv0) + 1]; std::strcpy(argv[0], argv0); |