summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-12-09 14:48:36 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2009-12-09 14:48:36 -0800
commit9b0825be5ccba5dd35dce2421804a382ddead67f (patch)
tree86f8cc17d231339130d33bcaff69a87ea09c1885
parentca2566a1aca90bc2cc54c96d94bcd85110e65bed (diff)
get llmediaplugintest compiling on win32, dumbly.
-rw-r--r--indra/test_apps/llplugintest/llmediaplugintest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/test_apps/llplugintest/llmediaplugintest.cpp b/indra/test_apps/llplugintest/llmediaplugintest.cpp
index c6df77f9a4..674520bb87 100644
--- a/indra/test_apps/llplugintest/llmediaplugintest.cpp
+++ b/indra/test_apps/llplugintest/llmediaplugintest.cpp
@@ -1531,6 +1531,9 @@ void LLMediaPluginTest::addMediaPanel( std::string url )
#endif
// for this test app, use the cwd as the user data path (ugh).
+#if LL_WINDOWS
+ std::string user_data_path = ".\\";
+#else
char cwd[ FILENAME_MAX ];
if (NULL == getcwd( cwd, FILENAME_MAX - 1 ))
{
@@ -1538,6 +1541,7 @@ void LLMediaPluginTest::addMediaPanel( std::string url )
return;
}
std::string user_data_path = std::string( cwd ) + "/";
+#endif
media_source->init( launcher_name, plugin_name, false, user_data_path );
media_source->setDisableTimeout(mDisableTimeout);