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.
This commit is contained in:
Maxim Dounin 2014-03-31 21:38:25 +04:00
parent 6f1763213b
commit 3183d7e17b

View File

@ -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)