blob: 7a2ca07ac58c0acb5e708505639ea8a90f780b49 (
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
|
#ifndef IncDSUtil_SharedInclude_h
#define IncDSUtil_SharedInclude_h
#pragma warning(disable:4018)
#pragma warning(disable:4800)
#pragma warning(disable:4355)
#pragma warning(disable:4244)
#pragma warning(disable:4995)
#pragma warning(disable:4996)
#pragma warning(disable:4305)
#pragma warning(disable:4200)
#pragma warning(disable:4101)
#pragma warning(disable:4101)
#pragma warning(disable:4267)
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC // include Microsoft memory leak detection procedures
#if 0
#include <crtdbg.h>
#define DNew new(_NORMAL_BLOCK, __FILE__, __LINE__)
#else
#define DNew new(__FILE__, __LINE__)
#endif
#else
#define DNew new
#endif
#endif // IncDSUtil_SharedInclude_h
|