mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
msvc fixes
This commit is contained in:
@@ -34,10 +34,14 @@
|
|||||||
#include <stdlib.h> /* for size_t, malloc(), etc */
|
#include <stdlib.h> /* for size_t, malloc(), etc */
|
||||||
|
|
||||||
#ifndef SIZE_MAX
|
#ifndef SIZE_MAX
|
||||||
#ifndef SIZE_T_MAX
|
# ifndef SIZE_T_MAX
|
||||||
#error
|
# ifdef _MSC_VER
|
||||||
#endif
|
# define SIZE_T_MAX UINT_MAX
|
||||||
#define SIZE_MAX SIZE_T_MAX
|
# else
|
||||||
|
# error
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# define SIZE_MAX SIZE_T_MAX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FLaC__INLINE
|
#ifndef FLaC__INLINE
|
||||||
|
|||||||
Reference in New Issue
Block a user