summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.h
diff options
context:
space:
mode:
authorJosh Bell <josh@lindenlab.com>2007-01-04 02:04:29 +0000
committerJosh Bell <josh@lindenlab.com>2007-01-04 02:04:29 +0000
commitd60f16540dba5616cd8260046b44ebc2a1047065 (patch)
treeab241efaf58ba4eeb1916763cef337a04bc15d64 /indra/llwindow/llwindowwin32.h
parent0434d35c160bcd0d78b8f4e795a62155f50a6fb8 (diff)
svn merge svn+ssh://svn.lindenlab.com/svn/linden/release@56429 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance@56431
This turned up the following "lost" changes: llapp.cpp (from maintenance r55371) - SIGPIPE fix, possibly llfontgl.cpp (from maintenance r50207) - whitespace only inventorybridge.cpp (property - non-executable) skins/xui/*/* (from maintenance r55380) - XML processing instruction went AWOL
Diffstat (limited to 'indra/llwindow/llwindowwin32.h')
-rw-r--r--indra/llwindow/llwindowwin32.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llwindow/llwindowwin32.h b/indra/llwindow/llwindowwin32.h
index 6803ad6f2a..0b6fd5157a 100644
--- a/indra/llwindow/llwindowwin32.h
+++ b/indra/llwindow/llwindowwin32.h
@@ -9,6 +9,11 @@
#ifndef LL_LLWINDOWWIN32_H
#define LL_LLWINDOWWIN32_H
+// Limit Windows API to small and manageable set.
+#define WIN32_LEAN_AND_MEAN
+#include <winsock2.h>
+#include <windows.h>
+
#include "llwindow.h"
// Hack for async host by name
@@ -152,8 +157,6 @@ protected:
BOOL mMousePositionModified;
BOOL mInputProcessingPaused;
- friend HWND llwindow_get_hwnd(LLWindow *window);
- friend void llwindow_install_wndproc(LLWindow *window, WNDPROC wnd_proc);
friend class LLWindowManager;
};