msvc fixes

This commit is contained in:
Josh Coalson 2007-09-12 05:28:48 +00:00
parent 0577344cb3
commit 8c4ac1dcb7

View File

@ -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