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 */
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#ifndef SIZE_T_MAX
|
||||
#error
|
||||
#endif
|
||||
#define SIZE_MAX SIZE_T_MAX
|
||||
# ifndef SIZE_T_MAX
|
||||
# ifdef _MSC_VER
|
||||
# define SIZE_T_MAX UINT_MAX
|
||||
# else
|
||||
# error
|
||||
# endif
|
||||
# endif
|
||||
# define SIZE_MAX SIZE_T_MAX
|
||||
#endif
|
||||
|
||||
#ifndef FLaC__INLINE
|
||||
|
||||
Reference in New Issue
Block a user