mirror of https://github.com/xiph/flac
Fix missing SIZE_MAX definition on Android
This commit is contained in:
parent
64f47c2d71
commit
b762a20ace
|
@ -175,6 +175,10 @@
|
||||||
#define flac_fstat fstat
|
#define flac_fstat fstat
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ANDROID
|
||||||
|
#include <limits.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef M_LN2
|
#ifndef M_LN2
|
||||||
#define M_LN2 0.69314718055994530942
|
#define M_LN2 0.69314718055994530942
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
#include "private/md5.h"
|
#include "private/md5.h"
|
||||||
#include "share/alloc.h"
|
#include "share/alloc.h"
|
||||||
|
#include "share/compat.h"
|
||||||
#include "share/endswap.h"
|
#include "share/endswap.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
#include "private/memory.h"
|
#include "private/memory.h"
|
||||||
#include "FLAC/assert.h"
|
#include "FLAC/assert.h"
|
||||||
|
#include "share/compat.h"
|
||||||
#include "share/alloc.h"
|
#include "share/alloc.h"
|
||||||
|
|
||||||
void *FLAC__memory_alloc_aligned(size_t bytes, void **aligned_address)
|
void *FLAC__memory_alloc_aligned(size_t bytes, void **aligned_address)
|
||||||
|
|
Loading…
Reference in New Issue