Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -1,7 +1,7 @@ CC = gcc -CFLAGS = -std=gnu11 -Wall -Werror -Wno-error=cpp -W -pthread -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE +CFLAGS = -std=gnu11 -Wall -Werror -W -pthread -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE LDFLAGS = -pthread LIBS = -lpthread MIMETYPES = /etc/httpd/mime.types PREFIX = /usr/local Index: filed.c ================================================================== --- filed.c +++ filed.c @@ -55,11 +55,10 @@ /* * If the C compiler does not support C11 atomics, disable TIMEOUT support * since it relies upon it */ #ifndef FILED_FEATURE_C11_ATOMICS -# warning "Automatically defining FILED_DONT_TIMEOUT since your C compiler lacks C11 atomics" # define FILED_DONT_TIMEOUT 1 #endif /* * These headers are only required for TIMEOUT support @@ -615,10 +614,11 @@ } #endif #ifdef FILED_DONT_TIMEOUT #define filed_sockettimeout_thread_init() 0 +#define filed_sockettimeout_init() 0 #define filed_sockettimeout_accept(x) /**/ #define filed_sockettimeout_processing_start(x) /**/ #define filed_sockettimeout_processing_end(x) /**/ #define filed_sockettimeout_close(x) /**/ #else