Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2007-07-24 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:15:52 +0300
commit980e181dcc9d64312a4dddfa58f80770506f27f5 (patch)
tree4ab20c1b4c7ebfe0f5fbf39ec2ce2cd3022ebf66 /CPP/7zip/Compress
parent7038848692e7049234f223703522681a19db49a5 (diff)
4.50 beta
Diffstat (limited to 'CPP/7zip/Compress')
-rwxr-xr-xCPP/7zip/Compress/Rar/Rar1Decoder.cpp5
-rwxr-xr-xCPP/7zip/Compress/Rar/Rar1Decoder.h5
-rwxr-xr-xCPP/7zip/Compress/Rar/Rar2Decoder.cpp5
-rwxr-xr-xCPP/7zip/Compress/Rar/Rar2Decoder.h5
-rwxr-xr-xCPP/7zip/Compress/Rar/Rar3Decoder.cpp5
-rwxr-xr-xCPP/7zip/Compress/Rar/Rar3Decoder.h5
-rwxr-xr-xCPP/7zip/Compress/Rar/Rar3Vm.cpp5
-rwxr-xr-xCPP/7zip/Compress/Rar/Rar3Vm.h12
8 files changed, 19 insertions, 28 deletions
diff --git a/CPP/7zip/Compress/Rar/Rar1Decoder.cpp b/CPP/7zip/Compress/Rar/Rar1Decoder.cpp
index c30443de..f19b14f4 100755
--- a/CPP/7zip/Compress/Rar/Rar1Decoder.cpp
+++ b/CPP/7zip/Compress/Rar/Rar1Decoder.cpp
@@ -1,7 +1,6 @@
// Rar1Decoder.cpp
-// According to unRAR license,
-// this code may not be used to develop a
-// RAR (WinRAR) compatible archiver
+// According to unRAR license, this code may not be used to develop
+// a program that creates RAR archives
#include "StdAfx.h"
diff --git a/CPP/7zip/Compress/Rar/Rar1Decoder.h b/CPP/7zip/Compress/Rar/Rar1Decoder.h
index bdaf4d85..840b466d 100755
--- a/CPP/7zip/Compress/Rar/Rar1Decoder.h
+++ b/CPP/7zip/Compress/Rar/Rar1Decoder.h
@@ -1,7 +1,6 @@
// Rar15Decoder.h
-// According to unRAR license,
-// this code may not be used to develop a
-// RAR (WinRAR) compatible archiver
+// According to unRAR license, this code may not be used to develop
+// a program that creates RAR archives
#ifndef __RAR10_DECODER_H
#define __RAR10_DECODER_H
diff --git a/CPP/7zip/Compress/Rar/Rar2Decoder.cpp b/CPP/7zip/Compress/Rar/Rar2Decoder.cpp
index 43473695..152c388b 100755
--- a/CPP/7zip/Compress/Rar/Rar2Decoder.cpp
+++ b/CPP/7zip/Compress/Rar/Rar2Decoder.cpp
@@ -1,7 +1,6 @@
// Rar2Decoder.cpp
-// According to unRAR license,
-// this code may not be used to develop a
-// RAR (WinRAR) compatible archiver
+// According to unRAR license, this code may not be used to develop
+// a program that creates RAR archives
#include "StdAfx.h"
diff --git a/CPP/7zip/Compress/Rar/Rar2Decoder.h b/CPP/7zip/Compress/Rar/Rar2Decoder.h
index dfd0f816..9567de0a 100755
--- a/CPP/7zip/Compress/Rar/Rar2Decoder.h
+++ b/CPP/7zip/Compress/Rar/Rar2Decoder.h
@@ -1,7 +1,6 @@
// Rar2Decoder.h
-// According to unRAR license,
-// this code may not be used to develop a
-// RAR (WinRAR) compatible archiver
+// According to unRAR license, this code may not be used to develop
+// a program that creates RAR archives
#ifndef __RAR2DECODER_H
#define __RAR2DECODER_H
diff --git a/CPP/7zip/Compress/Rar/Rar3Decoder.cpp b/CPP/7zip/Compress/Rar/Rar3Decoder.cpp
index 77b73ba8..7f71d1d8 100755
--- a/CPP/7zip/Compress/Rar/Rar3Decoder.cpp
+++ b/CPP/7zip/Compress/Rar/Rar3Decoder.cpp
@@ -1,7 +1,6 @@
// Rar3Decoder.cpp
-// According to unRAR license,
-// this code may not be used to develop a
-// RAR (WinRAR) compatible archiver
+// According to unRAR license, this code may not be used to develop
+// a program that creates RAR archives
#include "StdAfx.h"
diff --git a/CPP/7zip/Compress/Rar/Rar3Decoder.h b/CPP/7zip/Compress/Rar/Rar3Decoder.h
index ec07a4d3..178bf5db 100755
--- a/CPP/7zip/Compress/Rar/Rar3Decoder.h
+++ b/CPP/7zip/Compress/Rar/Rar3Decoder.h
@@ -1,7 +1,6 @@
// Rar3Decoder.h
-// According to unRAR license,
-// this code may not be used to develop a
-// RAR (WinRAR) compatible archiver
+// According to unRAR license, this code may not be used to develop
+// a program that creates RAR archives
#ifndef __RAR3DECODER_H
#define __RAR3DECODER_H
diff --git a/CPP/7zip/Compress/Rar/Rar3Vm.cpp b/CPP/7zip/Compress/Rar/Rar3Vm.cpp
index 6d0c176c..8222668b 100755
--- a/CPP/7zip/Compress/Rar/Rar3Vm.cpp
+++ b/CPP/7zip/Compress/Rar/Rar3Vm.cpp
@@ -1,7 +1,6 @@
// Rar3Vm.cpp
-// According to unRAR license,
-// this code may not be used to develop a
-// RAR (WinRAR) compatible archiver
+// According to unRAR license, this code may not be used to develop
+// a program that creates RAR archives
/*
Note:
diff --git a/CPP/7zip/Compress/Rar/Rar3Vm.h b/CPP/7zip/Compress/Rar/Rar3Vm.h
index 99a4f624..d31fcd0a 100755
--- a/CPP/7zip/Compress/Rar/Rar3Vm.h
+++ b/CPP/7zip/Compress/Rar/Rar3Vm.h
@@ -1,7 +1,6 @@
// Rar3Vm.h
-// According to unRAR license,
-// this code may not be used to develop a
-// RAR (WinRAR) compatible archiver
+// According to unRAR license, this code may not be used to develop
+// a program that creates RAR archives
#ifndef __RAR3VM_H
#define __RAR3VM_H
@@ -9,11 +8,10 @@
#include "Common/Types.h"
#include "Common/MyVector.h"
+#include "../../../../C/CpuArch.h"
+
#define RARVM_STANDARD_FILTERS
-#if defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64) || defined(__i386__) || defined(__x86_64__) // || defined(_M_IA64) || defined(__ia64__)
-// Define RARVM_LITTLE_ENDIAN_UNALIGN, if CPU is LITTLE_ENDIAN and if it supports
-// unaligned 32-bit memory accesses.
-// It's for speed optimization, if you are not sure, just don't define it.
+#ifdef LITTLE_ENDIAN_UNALIGN
#define RARVM_LITTLE_ENDIAN_UNALIGN
#endif