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 a8a97b7c4b
1 changed files with 3 additions and 1 deletions

View File

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