Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_files.h @ 5631:f1dfe7ff4511
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 31 Mar 2014 21:38:25 +0400 |
parents | 72e31d88defa |
children | ccad84a174e0 |
comparison
equal
deleted
inserted
replaced
5630:02584b335727 | 5631:f1dfe7ff4511 |
---|---|
51 | 51 |
52 | 52 |
53 | 53 |
54 #ifdef __CYGWIN__ | 54 #ifdef __CYGWIN__ |
55 | 55 |
56 #ifndef NGX_HAVE_CASELESS_FILESYSTEM | |
56 #define NGX_HAVE_CASELESS_FILESYSTEM 1 | 57 #define NGX_HAVE_CASELESS_FILESYSTEM 1 |
58 #endif | |
57 | 59 |
58 #define ngx_open_file(name, mode, create, access) \ | 60 #define ngx_open_file(name, mode, create, access) \ |
59 open((const char *) name, mode|create|O_BINARY, access) | 61 open((const char *) name, mode|create|O_BINARY, access) |
60 | 62 |
61 #else | 63 #else |