mirror of
https://github.com/hashcat/hashcat.git
synced 2025-08-04 12:56:00 +00:00
add missing cygwin/msys checks on memory.c
This commit is contained in:
parent
4bd51961e0
commit
2825b33850
@ -71,7 +71,7 @@ void *hc_alloc_aligned (size_t alignment, size_t size)
|
||||
{
|
||||
void *ptr = NULL;
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
|
||||
#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined (__CYGWIN__) || defined (__MSYS__)
|
||||
|
||||
if (posix_memalign (&ptr, alignment, size) != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user