|
34 | 34 | # Define NO_D_INO_IN_DIRENT if you don't have d_ino in your struct dirent.
|
35 | 35 | #
|
36 | 36 | # Define NO_D_TYPE_IN_DIRENT if your platform defines DT_UNKNOWN but lacks
|
37 |
| -# d_type in struct dirent (latest Cygwin -- will be fixed soonish). |
| 37 | +# d_type in struct dirent (Cygwin 1.5, fixed in Cygwin 1.7). |
38 | 38 | #
|
39 | 39 | # Define NO_C99_FORMAT if your formatted IO functions (printf/scanf et.al.)
|
40 | 40 | # do not support the 'size specifiers' introduced by C99, namely ll, hh,
|
@@ -109,7 +109,7 @@ all::
|
109 | 109 | # Define NO_PTHREADS if you do not have or do not want to use Pthreads.
|
110 | 110 | #
|
111 | 111 | # Define NO_PREAD if you have a problem with pread() system call (e.g.
|
112 |
| -# cygwin.dll before v1.5.22). |
| 112 | +# cygwin1.dll before v1.5.22). |
113 | 113 | #
|
114 | 114 | # Define NO_FAST_WORKING_DIRECTORY if accessing objects in pack files is
|
115 | 115 | # generally faster on your platform than accessing the working directory.
|
@@ -831,22 +831,24 @@ ifeq ($(uname_S),SunOS)
|
831 | 831 | BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__ -DHAVE_ALLOCA_H
|
832 | 832 | endif
|
833 | 833 | ifeq ($(uname_O),Cygwin)
|
834 |
| - NO_D_TYPE_IN_DIRENT = YesPlease |
835 |
| - NO_D_INO_IN_DIRENT = YesPlease |
836 |
| - NO_STRCASESTR = YesPlease |
837 |
| - NO_MEMMEM = YesPlease |
838 |
| - NO_MKSTEMPS = YesPlease |
839 |
| - NO_SYMLINK_HEAD = YesPlease |
| 834 | + ifneq ($(wordlist 1, 2, $(subst ., ,$(uname_R))),1 7) |
| 835 | + NO_D_TYPE_IN_DIRENT = YesPlease |
| 836 | + NO_D_INO_IN_DIRENT = YesPlease |
| 837 | + NO_STRCASESTR = YesPlease |
| 838 | + NO_MEMMEM = YesPlease |
| 839 | + NO_MKSTEMPS = YesPlease |
| 840 | + NO_SYMLINK_HEAD = YesPlease |
| 841 | + NO_IPV6 = YesPlease |
| 842 | + OLD_ICONV = UnfortunatelyYes |
| 843 | + endif |
840 | 844 | NEEDS_LIBICONV = YesPlease
|
841 | 845 | NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
|
842 | 846 | NO_TRUSTABLE_FILEMODE = UnfortunatelyYes
|
843 |
| - OLD_ICONV = UnfortunatelyYes |
844 | 847 | NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
|
845 | 848 | # There are conflicting reports about this.
|
846 | 849 | # On some boxes NO_MMAP is needed, and not so elsewhere.
|
847 | 850 | # Try commenting this out if you suspect MMAP is more efficient
|
848 | 851 | NO_MMAP = YesPlease
|
849 |
| - NO_IPV6 = YesPlease |
850 | 852 | X = .exe
|
851 | 853 | COMPAT_OBJS += compat/cygwin.o
|
852 | 854 | UNRELIABLE_FSTAT = UnfortunatelyYes
|
|
0 commit comments