Merge pull request #395 from MartinPham/patch-4

fix mac build for exoquant
This commit is contained in:
fgsfds 2020-08-16 02:01:02 +03:00 committed by GitHub
commit 0bd44c1a64
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ SOFTWARE.
#include "exoquant.h"
#ifndef OSX_BUILD // OSX build cannot have malloc defined
#ifdef __APPLE__
// No malloc on mac
#else
#include <malloc.h>
#endif