use malloc instead of malloc2 for Ubuntu 18 build

This commit is contained in:
ohsqueezy 2024-04-18 00:24:06 -04:00
parent b40e0e56e4
commit d66e70d6ad
2 changed files with 2 additions and 2 deletions

2
lib/sb

@ -1 +1 @@
Subproject commit a1eef8017eb3c75a30b00863e1d54f906eefc0df
Subproject commit 87a946a61eb1e126131c3d24fd87f28af2cbcb6e

View File

@ -2380,7 +2380,7 @@ void Cakefoot::respond(SDL_Event& event)
else if (sb::Delegate::compare(event, "memory"))
{
/* Struct with quantified memory allocation information. */
#if !defined(EMSCRIPTEN)
#if !defined(EMSCRIPTEN) && !defined(__UBUNTU18__)
struct mallinfo2 malloc_info = mallinfo2();
#else
struct mallinfo malloc_info = mallinfo();