mirror of
https://github.com/nginx/nginx.git
synced 2024-12-03 04:39:00 +08: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
@ -53,7 +53,9 @@ typedef struct {
|
|||||||
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
|
|
||||||
|
#ifndef NGX_HAVE_CASELESS_FILESYSTEM
|
||||||
#define NGX_HAVE_CASELESS_FILESYSTEM 1
|
#define NGX_HAVE_CASELESS_FILESYSTEM 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ngx_open_file(name, mode, create, access) \
|
#define ngx_open_file(name, mode, create, access) \
|
||||||
open((const char *) name, mode|create|O_BINARY, access)
|
open((const char *) name, mode|create|O_BINARY, access)
|
||||||
|
Loading…
Reference in New Issue
Block a user