Update exoquant.c

fix mac build
This commit is contained in:
Martin Pham 2020-08-05 23:12:02 +02:00 committed by GitHub
parent f500541834
commit b35eb4f5c5
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