13
0

compile fix

git-svn-id: svn://localhost/ardour2/branches/3.0@8660 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-02-01 19:55:08 +00:00
parent 91e6c1b176
commit 2b839bd13b

View File

@ -106,7 +106,7 @@ Please consider the possibilities, and perhaps (re)start JACK."));
extern void set_language_preference (); // cocoacarbon.mm extern void set_language_preference (); // cocoacarbon.mm
void void
fixup_bundle_environment () fixup_bundle_environment (int, char* [])
{ {
if (!getenv ("ARDOUR_BUNDLED")) { if (!getenv ("ARDOUR_BUNDLED")) {
return; return;
@ -525,7 +525,7 @@ int ardour_main (int argc, char *argv[])
int main (int argc, char *argv[]) int main (int argc, char *argv[])
#endif #endif
{ {
fixup_bundle_environment (); fixup_bundle_environment (argc, argv);
if (!Glib::thread_supported()) if (!Glib::thread_supported())
Glib::thread_init(); Glib::thread_init();