blob: 199d3808093ac0d3a7b36b06b5fa5eb73fa6b722 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/**
* @file linden_common.h
* @brief Includes common headers that are always safe to include
*
* Copyright (c) 2001-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#ifndef LL_LINDEN_COMMON_H
#define LL_LINDEN_COMMON_H
#include "llpreprocessor.h"
#include <string.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
// Work around stupid Microsoft STL warning
#ifdef LL_WINDOWS
#pragma warning (disable : 4702) // warning C4702: unreachable code
#endif // LL_WINDOWS
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include "llfile.h"
#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.
// Please don't take this out -- it helps with library
// compile times. JC
#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>
#include <windows.h>
#endif // LL_WINDOWS
#include "stdtypes.h"
#include "lldefs.h"
#include "llerror.h"
#include "llstring.h"
#include "lltimer.h"
#include "llfasttimer.h"
#include "llsys.h"
#ifdef LL_WINDOWS
#pragma warning (3 : 4702) // we like level 3, not 4
#endif // LL_WINDOWS
#endif // not LL_LINDEN_COMMON_H
|