summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests/llsdserialize_test.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2011-07-14 15:27:36 -0400
committerNat Goodspeed <nat@lindenlab.com>2011-07-14 15:27:36 -0400
commit24508cc924938d2a8752496b9752b7c4d934dd77 (patch)
tree2f73e62cbf7d1bebbde93f316a106fdfb47b6aca /indra/llcommon/tests/llsdserialize_test.cpp
parent4c465f496f602860f5044bded01fde8883083e70 (diff)
Attempt to fix minor build errors on Windows.
Diffstat (limited to 'indra/llcommon/tests/llsdserialize_test.cpp')
-rw-r--r--indra/llcommon/tests/llsdserialize_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp
index 687c64dfeb..e0a7835550 100644
--- a/indra/llcommon/tests/llsdserialize_test.cpp
+++ b/indra/llcommon/tests/llsdserialize_test.cpp
@@ -66,7 +66,7 @@ boost::filesystem::path temp_directory_path()
{
#if LL_WINDOWS
char buffer[4096];
- GetTempPath(sizeof(buffer), buffer);
+ GetTempPathA(sizeof(buffer), buffer);
return boost::filesystem::path(buffer);
#else // LL_DARWIN, LL_LINUX
@@ -99,7 +99,7 @@ public:
boost::filesystem::remove(mPath);
}
- std::string getName() const { return mPath.native(); }
+ std::string getName() const { return mPath.string(); }
private:
boost::filesystem::path mPath;