mirror of
https://github.com/nginx/nginx.git
synced 2026-06-26 11:52:00 +00:00
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:
parent
6f1763213b
commit
3183d7e17b
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue