Apple and BSD don't need malloc.h

pull/95/head
Riccardo Spagni 10 years ago
parent d6346365c3
commit 8eb2375799
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -33,9 +33,13 @@
#include <unistd.h>
#include <string.h>
#include <stdint.h>
#include <malloc.h>
#include "gtest/gtest.h"
// Both OS X and FreeBSD don't need malloc.h
#if !defined(__APPLE__) && !defined(__FreeBSD__)
#include <malloc.h>
#endif
//#define TEST_ORIGINAL
//#define VERBOSE

Loading…
Cancel
Save