Changeset 569 for trunk


Ignore:
Timestamp:
Sep 5, 2021, 12:30:48 PM (3 years ago)
Author:
katerina
Message:

Fix for ticket #455 (dnmalloc compile failure b/o mallinfo2).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/dnmalloc.c

    r562 r569  
    822822 * it may actually raise an error.
    823823 */
    824 #if defined(HAVE_MALLOC_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && defined(__GLIBC__)
     824#if defined(HAVE_MALLOC_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 33)
    825825#include <malloc.h>
    826826#else
Note: See TracChangeset for help on using the changeset viewer.