1
0
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:
Gabriele Gristina 2025-07-27 18:02:08 +02:00
parent 4bd51961e0
commit 2825b33850
No known key found for this signature in database
GPG Key ID: 9F68B59298F311F0

View File

@ -71,7 +71,7 @@ void *hc_alloc_aligned (size_t alignment, size_t size)
{ {
void *ptr = NULL; 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) if (posix_memalign (&ptr, alignment, size) != 0)
{ {