xref: /aoo42x/main/embedserv/source/inc/stdafx.h (revision 79aad27f)
1 #if !defined(AFX_STDAFX_H_)
2 #define AFX_STDAFX_H_
3 
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 
8 #define STRICT
9 #ifndef _WIN32_WINNT
10 #define _WIN32_WINNT 0x0400
11 #endif
12 #define _ATL_APARTMENT_THREADED
13 // #define _ATL_STATIC_REGISTRY
14 
15 #ifdef _MSC_VER
16 #pragma warning(push)
17 #pragma warning(push, 1)
18 #pragma warning(disable: 4548)
19 #pragma warning(disable: 4505)
20 #endif
21 #include <atlbase.h>
22 //You may derive a class from CComModule and use it if you want to override
23 //something, but do not change the name of _Module
24 extern CComModule _Module;
25 #ifdef __MINGW32__
26 #include <algorithm>
27 using ::std::min;
28 using ::std::max;
29 #endif
30 #include <atlcom.h>
31 #include <atlctl.h>
32 
33 //{{AFX_INSERT_LOCATION}}
34 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
35 
36 #ifdef _MSC_VER
37 #pragma warning(pop)
38 #pragma warning(pop)
39 #endif
40 
41 #endif
42 
43