xref: /aosp_15_r20/external/lzma/CPP/Common/Common.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1 // Common.h
2 
3 #if defined(_MSC_VER) && _MSC_VER >= 1800
4 #pragma warning(disable : 4464) // relative include path contains '..'
5 #endif
6 
7 #ifndef ZIP7_INC_COMMON_H
8 #define ZIP7_INC_COMMON_H
9 
10 #include "../../C/Precomp.h"
11 #include "Common0.h"
12 #include "MyWindows.h"
13 
14 /*
15 This file is included to all cpp files in 7-Zip.
16 Each folder contains StdAfx.h file that includes "Common.h".
17 So 7-Zip includes "Common.h" in both modes:
18   with precompiled StdAfx.h
19 and
20   without precompiled StdAfx.h
21 
22 include "Common.h" before other h files of 7-zip,
23    if you need predefined macros.
24 do not include "Common.h", if you need only interfaces,
25    and you don't need predefined macros.
26 */
27 
28 #endif
29