tests: Fix Linux build
This commit is contained in:
parent
bb3aee447b
commit
70a78b2fa5
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
// Low-level allocation functions
|
// Low-level allocation functions
|
||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
@ -113,8 +114,6 @@ namespace
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# include <stdlib.h>
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
void* allocate(size_t size)
|
void* allocate(size_t size)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user