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 488892e115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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