From 7832d8eccb00d32b6122e5851238e962f65af1e8 Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Wed, 21 Dec 2011 11:12:48 -0500
Subject: Fix llprocesslauncher_test.cpp to work on Windows.

---
 indra/llcommon/tests/llprocesslauncher_test.cpp | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'indra/llcommon')

diff --git a/indra/llcommon/tests/llprocesslauncher_test.cpp b/indra/llcommon/tests/llprocesslauncher_test.cpp
index 3b5602f620..4d14e1be53 100644
--- a/indra/llcommon/tests/llprocesslauncher_test.cpp
+++ b/indra/llcommon/tests/llprocesslauncher_test.cpp
@@ -12,6 +12,7 @@
 // Precompiled header
 #include "linden_common.h"
 // associated header
+#define WIN32_LEAN_AND_MEAN
 #include "llprocesslauncher.h"
 // STL headers
 #include <vector>
@@ -23,6 +24,10 @@
 // other Linden headers
 #include "../test/lltut.h"
 
+#if defined(LL_WINDOWS)
+#define sleep _sleep
+#endif
+
 class APR
 {
 public:
-- 
cgit v1.2.3