Commit a5a433e2 authored by Eugene Kosov's avatar Eugene Kosov

fix windows compilation

parent 3d3d8f10
...@@ -90,8 +90,8 @@ static void *aligned_malloc(size_t size, size_t align) ...@@ -90,8 +90,8 @@ static void *aligned_malloc(size_t size, size_t align)
void *result; void *result;
if (posix_memalign(&result, align, size)) if (posix_memalign(&result, align, size))
result= NULL; result= NULL;
#endif
return result; return result;
#endif
} }
inline void aligned_free(void *ptr) { inline void aligned_free(void *ptr) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment