OSDN Git Service

[VM][General] Merge Upstream 2017-12-15.
[csp-qt/common_source_project-fm7.git] / source / src / vm / fmgen / headers.h
1 #ifndef WIN_HEADERS_H
2 #define WIN_HEADERS_H
3
4 #define STRICT
5 #define WIN32_LEAN_AND_MEAN
6
7 #include <stdio.h>
8 #include <stdlib.h>
9 #include <math.h>
10 #include <string.h>
11 #include <assert.h>
12
13 #ifdef _MSC_VER
14         #undef max
15         #define max _MAX
16         #undef min
17         #define min _MIN
18 #endif
19
20 // disable warning C4996 for microsoft visual c++ 2005
21 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
22 #pragma warning( disable : 4996 )
23 #endif
24
25 #endif  // WIN_HEADERS_H