diff --git a/src/common/utility/m_alloc.cpp b/src/common/utility/m_alloc.cpp index 8ab7b6fcc..5c2ea25b9 100644 --- a/src/common/utility/m_alloc.cpp +++ b/src/common/utility/m_alloc.cpp @@ -54,7 +54,7 @@ #endif #ifndef _DEBUG -#if !defined(__solaris__) && !defined(__OpenBSD__) +#if !defined(__solaris__) && !defined(__OpenBSD__) && !defined(__DragonFly__) void *M_Malloc(size_t size) { void *block = malloc(size); @@ -124,7 +124,7 @@ void *M_Realloc(void *memblock, size_t size) #include #endif -#if !defined(__solaris__) && !defined(__OpenBSD__) +#if !defined(__solaris__) && !defined(__OpenBSD__) && !defined(__DragonFly__) void *M_Malloc_Dbg(size_t size, const char *file, int lineno) { void *block = _malloc_dbg(size, _NORMAL_BLOCK, file, lineno); @@ -192,7 +192,7 @@ void *M_Realloc_Dbg(void *memblock, size_t size, const char *file, int lineno) #endif #endif -#if !defined(__solaris__) && !defined(__OpenBSD__) +#if !defined(__solaris__) && !defined(__OpenBSD__) && !defined(__DragonFly__) void M_Free (void *block) { if (block != NULL)