Switching SEXP_USE_SEND_FILE to a whitelist for BSD and Linux,

instead of a blacklist.  Fixes issue #192.
This commit is contained in:
Alex Shinn 2013-09-14 21:42:11 +09:00
parent 5795f132ca
commit ca6f2e07cf

View file

@ -642,7 +642,7 @@
#endif #endif
#ifndef SEXP_USE_SEND_FILE #ifndef SEXP_USE_SEND_FILE
#define SEXP_USE_SEND_FILE (!defined(_WIN32) && !defined(PLAN9)) #define SEXP_USE_SEND_FILE (__linux || SEXP_BSD)
#endif #endif
#if SEXP_USE_NATIVE_X86 #if SEXP_USE_NATIVE_X86