include stdlib.h on macOS (#236)
Co-authored-by: Tian Jin <tjingrant@gmail.com>
This commit is contained in:
parent
7a2bb1f2a3
commit
4db3edc025
|
@ -1,5 +1,9 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <stdlib.h>
|
||||||
|
#else
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "RtMemRef.h"
|
#include "RtMemRef.h"
|
||||||
|
|
Loading…
Reference in New Issue