aboutsummaryrefslogtreecommitdiff
path: root/libs/archive/thirdparty/CPP/Common/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/archive/thirdparty/CPP/Common/Common.h')
-rw-r--r--libs/archive/thirdparty/CPP/Common/Common.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/libs/archive/thirdparty/CPP/Common/Common.h b/libs/archive/thirdparty/CPP/Common/Common.h
new file mode 100644
index 0000000..cde0c38
--- /dev/null
+++ b/libs/archive/thirdparty/CPP/Common/Common.h
@@ -0,0 +1,28 @@
+// Common.h
+
+#if defined(_MSC_VER) && _MSC_VER >= 1800
+#pragma warning(disable : 4464) // relative include path contains '..'
+#endif
+
+#ifndef ZIP7_INC_COMMON_H
+#define ZIP7_INC_COMMON_H
+
+#include "../../C/Precomp.h"
+#include "Common0.h"
+#include "MyWindows.h"
+
+/*
+This file is included to all cpp files in 7-Zip.
+Each folder contains StdAfx.h file that includes "Common.h".
+So 7-Zip includes "Common.h" in both modes:
+ with precompiled StdAfx.h
+and
+ without precompiled StdAfx.h
+
+include "Common.h" before other h files of 7-zip,
+ if you need predefined macros.
+do not include "Common.h", if you need only interfaces,
+ and you don't need predefined macros.
+*/
+
+#endif