diff options
author | brad kittenbrink <brad@lindenlab.com> | 2009-11-13 20:33:59 -0500 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2009-11-13 20:33:59 -0500 |
commit | 1ea60591a9b5f46a66527497b7b14b843a663de8 (patch) | |
tree | 7861ca04c831f311728b923c538c2916ca2775d1 /indra/llcommon/llapr.h | |
parent | 67f11add9c2e05e1c86e30c44c94ee1b7d9205d0 (diff) |
Refactoring of llviewerprecompiledheaders.h to hopefully increase stability
and reduce unnecessary dependencies and incredibuild wedging. Hopefully in
the long run this will reduce build time. Also cleaned up a lot of header
file usage to conform better to the coding standard.
reviewed by james and steve.
Diffstat (limited to 'indra/llcommon/llapr.h')
-rw-r--r-- | indra/llcommon/llapr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcommon/llapr.h b/indra/llcommon/llapr.h index b08bb617c5..b05a222b33 100644 --- a/indra/llcommon/llapr.h +++ b/indra/llcommon/llapr.h @@ -38,6 +38,14 @@ #if LL_LINUX || LL_SOLARIS #include <sys/param.h> // Need PATH_MAX in APR headers... #endif +#if LL_WINDOWS + // Limit Windows API to small and manageable set. + // If you get undefined symbols, find the appropriate + // Windows header file and include that in your .cpp file. + #define WIN32_LEAN_AND_MEAN + #include <winsock2.h> + #include <windows.h> +#endif #include <boost/noncopyable.hpp> |