use malloc instead of malloc2 for Ubuntu 18 build
This commit is contained in:
parent
b40e0e56e4
commit
d66e70d6ad
2
lib/sb
2
lib/sb
|
@ -1 +1 @@
|
||||||
Subproject commit a1eef8017eb3c75a30b00863e1d54f906eefc0df
|
Subproject commit 87a946a61eb1e126131c3d24fd87f28af2cbcb6e
|
|
@ -2380,7 +2380,7 @@ void Cakefoot::respond(SDL_Event& event)
|
||||||
else if (sb::Delegate::compare(event, "memory"))
|
else if (sb::Delegate::compare(event, "memory"))
|
||||||
{
|
{
|
||||||
/* Struct with quantified memory allocation information. */
|
/* Struct with quantified memory allocation information. */
|
||||||
#if !defined(EMSCRIPTEN)
|
#if !defined(EMSCRIPTEN) && !defined(__UBUNTU18__)
|
||||||
struct mallinfo2 malloc_info = mallinfo2();
|
struct mallinfo2 malloc_info = mallinfo2();
|
||||||
#else
|
#else
|
||||||
struct mallinfo malloc_info = mallinfo();
|
struct mallinfo malloc_info = mallinfo();
|
||||||
|
|
Loading…
Reference in New Issue