Preliminary support for DragonFly BSD

- It builds but no further testing has been done.
This commit is contained in:
Antonio Huete Jimenez 2016-12-15 02:27:53 -08:00
parent b97a2f72db
commit b00da61eab
8 changed files with 23 additions and 14 deletions

View file

@ -36,7 +36,8 @@
#include "gtest/gtest.h"
// OS X, FreeBSD, and OpenBSD don't need malloc.h
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && \
!defined(__DragonFly__)
#include <malloc.h>
#endif