mirror of
https://github.com/MariaDB/server.git
synced 2025-12-16 22:03:23 +03:00
fix windows compilation
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user