Commit b762a20a authored by Erik de Castro Lopo's avatar Erik de Castro Lopo

Fix missing SIZE_MAX definition on Android

parent 64f47c2d
......@@ -175,6 +175,10 @@
#define flac_fstat fstat
#endif
#ifdef ANDROID
#include <limits.h>
#endif
#ifndef M_LN2
#define M_LN2 0.69314718055994530942
#endif
......
......@@ -7,6 +7,7 @@
#include "private/md5.h"
#include "share/alloc.h"
#include "share/compat.h"
#include "share/endswap.h"
/*
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment