# HG changeset patch # User Maxim Dounin # Date 1396287505 -14400 # Node ID f1dfe7ff4511bbaf7766415ec336a8283d60493f # Parent 02584b335727c9753022e331051ecb33dcbd71f0 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 --- 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)