diff options
Diffstat (limited to 'embedserv/source/inc/stdafx.h')
-rwxr-xr-x | embedserv/source/inc/stdafx.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/embedserv/source/inc/stdafx.h b/embedserv/source/inc/stdafx.h new file mode 100755 index 000000000000..d20cb068be8f --- /dev/null +++ b/embedserv/source/inc/stdafx.h @@ -0,0 +1,42 @@ +#if !defined(AFX_STDAFX_H_) +#define AFX_STDAFX_H_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#define STRICT +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x0400 +#endif +#define _ATL_APARTMENT_THREADED +// #define _ATL_STATIC_REGISTRY + +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(push, 1) +#pragma warning(disable: 4548) +#pragma warning(disable: 4505) +#endif +#include <atlbase.h> +//You may derive a class from CComModule and use it if you want to override +//something, but do not change the name of _Module +extern CComModule _Module; +#ifdef __MINGW32__ +#include <algorithm> +using ::std::min; +using ::std::max; +#endif +#include <atlcom.h> +#include <atlctl.h> + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#ifdef _MSC_VER +#pragma warning(pop) +#pragma warning(pop) +#endif + +#endif + |