mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 21:18:53 +00:00
Apple and BSD don't need malloc.h
This commit is contained in:
parent
d6346365c3
commit
8eb2375799
@ -33,9 +33,13 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <malloc.h>
|
|
||||||
#include "gtest/gtest.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 TEST_ORIGINAL
|
||||||
//#define VERBOSE
|
//#define VERBOSE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user