aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llplugin
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-11-23 19:41:47 -0700
committerMcCabe Maxsted2010-11-23 19:41:47 -0700
commit0d654102fcb5b1aae70e7c3f565ab208455f8f36 (patch)
tree1f31ebe14171eac8a5c87d324b500d734edde6d0 /linden/indra/llplugin
parentMerge remote branch 'aleric/weekly' into weekly (diff)
downloadmeta-impy-0d654102fcb5b1aae70e7c3f565ab208455f8f36.zip
meta-impy-0d654102fcb5b1aae70e7c3f565ab208455f8f36.tar.gz
meta-impy-0d654102fcb5b1aae70e7c3f565ab208455f8f36.tar.bz2
meta-impy-0d654102fcb5b1aae70e7c3f565ab208455f8f36.tar.xz
Fixed Windows compile error introduced in fe9a3d2b. Also made sure winsock2.h is always included before windows.h throughout the source to prevent collisions
Diffstat (limited to 'linden/indra/llplugin')
-rwxr-xr-xlinden/indra/llplugin/llpluginsharedmemory.cpp2
-rwxr-xr-xlinden/indra/llplugin/slplugin/slplugin.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/llplugin/llpluginsharedmemory.cpp b/linden/indra/llplugin/llpluginsharedmemory.cpp
index 883d7b6..6becb8d 100755
--- a/linden/indra/llplugin/llpluginsharedmemory.cpp
+++ b/linden/indra/llplugin/llpluginsharedmemory.cpp
@@ -84,6 +84,8 @@
84 #include <sys/mman.h> 84 #include <sys/mman.h>
85 #include <errno.h> 85 #include <errno.h>
86#elif USE_WIN32_SHARED_MEMORY 86#elif USE_WIN32_SHARED_MEMORY
87# define WIN32_LEAN_AND_MEAN
88# include <winsock2.h>
87#include <windows.h> 89#include <windows.h>
88#endif // USE_APR_SHARED_MEMORY 90#endif // USE_APR_SHARED_MEMORY
89 91
diff --git a/linden/indra/llplugin/slplugin/slplugin.cpp b/linden/indra/llplugin/slplugin/slplugin.cpp
index cca8ead..878577b 100755
--- a/linden/indra/llplugin/slplugin/slplugin.cpp
+++ b/linden/indra/llplugin/slplugin/slplugin.cpp
@@ -78,6 +78,8 @@ static void crash_handler(int sig)
78#endif 78#endif
79 79
80#if LL_WINDOWS 80#if LL_WINDOWS
81# define WIN32_LEAN_AND_MEAN
82# include <winsock2.h>
81#include <windows.h> 83#include <windows.h>
82//////////////////////////////////////////////////////////////////////////////// 84////////////////////////////////////////////////////////////////////////////////
83// Our exception handler - will probably just exit and the host application 85// Our exception handler - will probably just exit and the host application