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 */ #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