summaryrefslogtreecommitdiff
path: root/embedserv/source/inc/stdafx.h
blob: 8ecf254a7487023648ca138b6519442b8f2bea93 (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
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#if !defined(AFX_STDAFX_H_)
#define AFX_STDAFX_H_

#ifdef _MSC_VER
#pragma once
#endif

#define STRICT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0502
#endif
#define _ATL_APARTMENT_THREADED
// #define _ATL_STATIC_REGISTRY

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(push, 1)
#pragma warning(disable: 4548)
#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

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */