Tried building this moring and this is the error i'm getting.
Code: Select all
Compiling stream_decoder.c: [ERROR]
gcc -D__MINW32__ -DWIN32 -DNDEBUG -D_LIB -DFLAC__CPU_IA32 -DFLAC_HAS_NASM -DFLAC
__SSE_OS -DFLAC__USE_3DNOW -DFLAC__NO_DLL -I. -O2 -Wall -Wno-unused-function -fo
mit-frame-pointer -c -o stream_decoder.o stream_decoder.c
================================================================================
In file included from stream_decoder.c:57:
share/alloc.h:41:5: #error
In file included from stream_decoder.c:57:
share/alloc.h: In function `safe_malloc_mul_2op_':
share/alloc.h:120: error: `SIZE_T_MAX' undeclared (first use in this function)
share/alloc.h:120: error: (Each undeclared identifier is reported only once
share/alloc.h:120: error: for each function it appears in.)
share/alloc.h: In function `safe_malloc_mul_3op_':
share/alloc.h:130: error: `SIZE_T_MAX' undeclared (first use in this function)
share/alloc.h: In function `safe_malloc_mul2add_':
share/alloc.h:143: error: `SIZE_T_MAX' undeclared (first use in this function)
share/alloc.h: In function `safe_realloc_mul_2op_':
share/alloc.h:196: error: `SIZE_T_MAX' undeclared (first use in this function)
mingw32-make[1]: *** [stream_decoder.o] Error 1
mingw32-make[1]: Leaving directory `C:/zdoom/trunk/flac'
mingw32-make: *** [basetools] Error 2