Corrected a build error if Python support missing

This commit is contained in:
John Wiegley 2009-03-03 22:13:36 -04:00
parent 1540ccec01
commit dcac306467

View file

@ -50,15 +50,19 @@ namespace {
} }
} }
#ifdef HAVE_BOOST_PYTHON
namespace ledger { namespace ledger {
extern char * argv0; extern char * argv0;
} }
#endif
int main(int argc, char * argv[], char * envp[]) int main(int argc, char * argv[], char * envp[])
{ {
int status; int status;
#ifdef HAVE_BOOST_PYTHON
argv0 = argv[0]; argv0 = argv[0];
#endif
// The very first thing we do is handle some very special command-line // The very first thing we do is handle some very special command-line
// options, since they affect how the environment is setup: // options, since they affect how the environment is setup: