From 24508cc924938d2a8752496b9752b7c4d934dd77 Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Thu, 14 Jul 2011 15:27:36 -0400
Subject: [PATCH] Attempt to fix minor build errors on Windows.

---
 indra/llcommon/tests/llsdserialize_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp
index 687c64dfeb5..e0a78355504 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 @@ class NamedTempScript
         boost::filesystem::remove(mPath);
     }
 
-    std::string getName() const { return mPath.native(); }
+    std::string getName() const { return mPath.string(); }
 
 private:
     boost::filesystem::path mPath;
-- 
GitLab