From: Maxim Dounin Date: Mon, 31 Mar 2014 17:38:25 +0000 (+0400) Subject: Added #ifndef around NGX_HAVE_CASELESS_FILESYSTEM define. X-Git-Tag: release-1.5.13~15 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=3183d7e17bdb9784096448168a8f89eeb5658438;p=nginx.git Added #ifndef around NGX_HAVE_CASELESS_FILESYSTEM define. This brings Cygwin compilation in line with other case-insensitive systems (notably win32 and OS X) where one can force case sensitivity using -DNGX_HAVE_CASELESS_FILESYSTEM=0. --- diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h index 4b2016500..a78ec9613 100644 --- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h @@ -53,7 +53,9 @@ typedef struct { #ifdef __CYGWIN__ +#ifndef NGX_HAVE_CASELESS_FILESYSTEM #define NGX_HAVE_CASELESS_FILESYSTEM 1 +#endif #define ngx_open_file(name, mode, create, access) \ open((const char *) name, mode|create|O_BINARY, access)