forked from mail-ru-im/im-desktop
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstdafx.h
48 lines (39 loc) · 1.2 KB
/
stdafx.h
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
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#ifdef _WIN32
#define _WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <WinSDKVer.h>
#define WINVER 0x0601
#define _WIN32_WINDOWS 0x0601
#define _WIN32_WINNT 0x0601
#define NTDDI_VERSION 0x06010000
#define _CRT_SECURE_NO_WARNINGS
#include "targetver.h"
#include <windows.h>
#include <VersionHelpers.h>
#endif //WIN32
#include <memory>
#include <functional>
#include <list>
#include <atomic>
#include <map>
#include <string>
#include <vector>
#include <sstream>
#include <cassert>
#include <unordered_map>
#include <set>
#include <mutex>
#include <thread>
#include <string.h>
#include <iostream>
#include "../common.shared/common.h"
#if !defined(_WIN32) && !defined(ABORT_ON_ASSERT) && defined(DEBUG)
#define assert(condition) \
do { if(!(condition)){ std::cerr << "ASSERT FAILED: " << #condition << " " << __FILE__ << ":" << __LINE__ << std::endl; } } while (0)
#endif
// TODO: reference additional headers your program requires here