From 4bcaa45f1663ca4ce3399ae412642624050c5060 Mon Sep 17 00:00:00 2001 From: Tim Crews Date: Sun, 16 Jun 2013 12:39:30 -0700 Subject: Additional changes required for MSVC to compile ledger. These changes only matter if ledger is compiled with USE_PYTHON. --- src/pyinterp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pyinterp.cc') 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); -- cgit v1.2.3