*** ./try.c.ORIG Mon May 2 21:19:20 2016 --- ./try.c Mon May 2 21:19:33 2016 *************** *** 32,37 **** --- 32,41 ---- try_t_ *try_stack_ = NULL; #endif /* PTHREAD_ONCE_INIT */ + #ifndef va_copy + # define va_copy(__list1,__list2) ((void)(__list1 = __list2)) + #endif + /* Throw an exception. This must always have at least two arguments, where the second argument can be a NULL. The throw() macro is permitted to have one argument, since it appends a NULL argument in the call to this function. */ *** ./Makefile.ORIG Mon May 30 07:09:41 2016 --- ./Makefile Thu Oct 27 22:36:37 2016 *************** *** 1,6 **** ! CC=cc ! CFLAGS=-O3 -Wall -Wextra ! LDFLAGS= LIBS=-lm -lpthread -lz ZOPFLI=zopfli/src/zopfli/ # use gcc and gmake on Solaris --- 1,6 ---- ! CC=xlc_r ! CFLAGS=-O3 -qstrict ! LDFLAGS=-L/opt/freeware/lib -lz LIBS=-lm -lpthread -lz ZOPFLI=zopfli/src/zopfli/ # use gcc and gmake on Solaris *** ./pigz.c.ORIG Thu Jun 18 14:33:21 2020 --- ./pigz.c Thu Jun 18 14:35:56 2020 *************** *** 928,933 **** --- 928,941 ---- return got; } + #ifndef SIZE_MAX + #if (__64BIT__) + #define SIZE_MAX UINT64_MAX + #else + #define SIZE_MAX UINT32_MAX + #endif + #endif + // Write len bytes, repeating write() calls as needed. Return len. local size_t writen(int desc, void const *buf, size_t len) { char const *next = buf;