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