diff --git a/native/common/jp_gc.cpp b/native/common/jp_gc.cpp index 029d673dd..505373580 100644 --- a/native/common/jp_gc.cpp +++ b/native/common/jp_gc.cpp @@ -85,8 +85,8 @@ size_t getWorkingSize() return sz * page_size; #elif defined(USE_MALLINFO) - struct mallinfo2 mi; - mi = mallinfo2(); + struct mallinfo mi; + mi = mallinfo(); current = (size_t) mi.uordblks; #endif