mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
libwinpr-crt: fix compilation
This commit is contained in:
@@ -39,11 +39,6 @@ void* _aligned_malloc(size_t size, size_t alignment)
|
||||
if (alignment % 2 == 1)
|
||||
return NULL;
|
||||
|
||||
/* offset must be less than size */
|
||||
|
||||
if (offset >= size)
|
||||
return NULL;
|
||||
|
||||
if (posix_memalign(&memptr, alignment, size) != 0)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user