Fix missing SIZE_MAX definition on Android

This commit is contained in:
Erik de Castro Lopo 2017-05-03 18:37:12 +10:00
parent 64f47c2d71
commit b762a20ace
3 changed files with 6 additions and 0 deletions

View File

@ -175,6 +175,10 @@
#define flac_fstat fstat
#endif
#ifdef ANDROID
#include <limits.h>
#endif
#ifndef M_LN2
#define M_LN2 0.69314718055994530942
#endif

View File

@ -7,6 +7,7 @@
#include "private/md5.h"
#include "share/alloc.h"
#include "share/compat.h"
#include "share/endswap.h"
/*

View File

@ -40,6 +40,7 @@
#include "private/memory.h"
#include "FLAC/assert.h"
#include "share/compat.h"
#include "share/alloc.h"
void *FLAC__memory_alloc_aligned(size_t bytes, void **aligned_address)