mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
fix LZMA_SDK Windows.h includes
This commit is contained in:
parent
a983957b21
commit
ecc03008a0
2
deps/LZMA-SDK/C/Alloc.c
vendored
2
deps/LZMA-SDK/C/Alloc.c
vendored
@ -6,7 +6,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
6
deps/LZMA-SDK/C/CpuArch.c
vendored
6
deps/LZMA-SDK/C/CpuArch.c
vendored
@ -217,7 +217,7 @@ BoolInt CPU_Is_InOrder()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(MY_CPU_AMD64) && defined(_WIN32)
|
#if !defined(MY_CPU_AMD64) && defined(_WIN32)
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
static BoolInt CPU_Sys_Is_SSE_Supported()
|
static BoolInt CPU_Sys_Is_SSE_Supported()
|
||||||
{
|
{
|
||||||
OSVERSIONINFO vi;
|
OSVERSIONINFO vi;
|
||||||
@ -275,7 +275,7 @@ BoolInt CPU_IsSupported_SHA()
|
|||||||
// #include <stdio.h>
|
// #include <stdio.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BoolInt CPU_IsSupported_AVX2()
|
BoolInt CPU_IsSupported_AVX2()
|
||||||
@ -351,7 +351,7 @@ BoolInt CPU_IsSupported_PageGB()
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
BoolInt CPU_IsSupported_CRC32() { return IsProcessorFeaturePresent(PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE) ? 1 : 0; }
|
BoolInt CPU_IsSupported_CRC32() { return IsProcessorFeaturePresent(PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE) ? 1 : 0; }
|
||||||
BoolInt CPU_IsSupported_CRYPTO() { return IsProcessorFeaturePresent(PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE) ? 1 : 0; }
|
BoolInt CPU_IsSupported_CRYPTO() { return IsProcessorFeaturePresent(PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE) ? 1 : 0; }
|
||||||
|
2
deps/LZMA-SDK/C/DllSecur.c
vendored
2
deps/LZMA-SDK/C/DllSecur.c
vendored
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#include "DllSecur.h"
|
#include "DllSecur.h"
|
||||||
|
|
||||||
|
2
deps/LZMA-SDK/C/Threads.h
vendored
2
deps/LZMA-SDK/C/Threads.h
vendored
@ -5,7 +5,7 @@
|
|||||||
#define __7Z_THREADS_H
|
#define __7Z_THREADS_H
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
|
Loading…
Reference in New Issue
Block a user