libwinpr-crt: fix compilation

This commit is contained in:
Marc-André Moreau 2012-10-02 09:30:31 -04:00
parent f31b5c7f5d
commit 111ab8d6c6
1 changed files with 0 additions and 5 deletions

View File

@ -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;