From ca6f2e07cf1ada58f9f8a59fdeae49a7faf3925e Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Sat, 14 Sep 2013 21:42:11 +0900 Subject: [PATCH] Switching SEXP_USE_SEND_FILE to a whitelist for BSD and Linux, instead of a blacklist. Fixes issue #192. --- include/chibi/features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chibi/features.h b/include/chibi/features.h index ff9567d8..fd47f12a 100644 --- a/include/chibi/features.h +++ b/include/chibi/features.h @@ -642,7 +642,7 @@ #endif #ifndef SEXP_USE_SEND_FILE -#define SEXP_USE_SEND_FILE (!defined(_WIN32) && !defined(PLAN9)) +#define SEXP_USE_SEND_FILE (__linux || SEXP_BSD) #endif #if SEXP_USE_NATIVE_X86