Update UNRAR.H
[xy_vsfilter.git] / src / dsutil / SharedInclude.h
blob777b042f87a8dfc389e5fcd8bd6ea166588b57db
1 #pragma once
3 #pragma warning(disable:4244)
4 #ifdef _WIN64
5 #pragma warning(disable:4267)
6 #endif
7 #pragma warning(disable:4995)
8 #ifdef _DEBUG
9 // Remove this if you want to see all the "unsafe" functions used
10 // For Release builds _CRT_SECURE_NO_WARNINGS is defined
11 #pragma warning(disable:4996)
12 #endif
14 #ifdef _DEBUG
15 #define _CRTDBG_MAP_ALLOC // include Microsoft memory leak detection procedures
17 #if 0
18 #include <crtdbg.h>
19 #define DNew new(_NORMAL_BLOCK, __FILE__, __LINE__)
20 #else
21 #define DNew new(__FILE__, __LINE__)
22 #endif
24 #else
26 #define DNew new
28 #endif