diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-02-11 01:43:03 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-02-11 01:43:03 -0200 |
commit | fdfd2228df9734771f20baba79e26ce14d518505 (patch) | |
tree | 685e9e47d2e1ecd6f669fb7bcb328484b94249c1 /libre/p7zip/osversion.patch | |
parent | 0b0f1e8858cadad511be3c7c01be4dc8f325e477 (diff) |
p7zip-9.38-1.parabola1: updating version
Diffstat (limited to 'libre/p7zip/osversion.patch')
-rw-r--r-- | libre/p7zip/osversion.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libre/p7zip/osversion.patch b/libre/p7zip/osversion.patch new file mode 100644 index 000000000..49e0653e4 --- /dev/null +++ b/libre/p7zip/osversion.patch @@ -0,0 +1,28 @@ +diff -Naur old/CPP/7zip/UI/FileManager/FM.cpp new/CPP/7zip/UI/FileManager/FM.cpp +--- old/CPP/7zip/UI/FileManager/FM.cpp 2015-01-18 08:59:09.000000000 -1000 ++++ new/CPP/7zip/UI/FileManager/FM.cpp 2015-02-09 11:39:55.575712452 -1000 +@@ -348,24 +348,7 @@ + + bool IsLargePageSupported() + { +- #ifdef _WIN64 + return true; +- #else +- OSVERSIONINFO versionInfo; +- versionInfo.dwOSVersionInfoSize = sizeof(versionInfo); +- if (!::GetVersionEx(&versionInfo)) +- return false; +- if (versionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || versionInfo.dwMajorVersion < 5) +- return false; +- if (versionInfo.dwMajorVersion > 5) +- return true; +- if (versionInfo.dwMinorVersion < 1) +- return false; +- if (versionInfo.dwMinorVersion > 1) +- return true; +- // return IsWow64(); +- return false; +- #endif + } + + #if 0 //#ifndef UNDER_CE |