Skip to content

Commit 7a4a2e1

Browse files
Pascal Obrygitster
authored andcommitted
Set OLD_ICONV on Cygwin.
Cygwin still has old definition for the iconv() second parameter. This patch fixes the last warning on Cygwin. This has been tested with Cygwin 1.5.24. Signed-off-by: Pascal Obry <pascal@obry.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent c701596 commit 7a4a2e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ ifeq ($(uname_O),Cygwin)
444444
NEEDS_LIBICONV = YesPlease
445445
NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
446446
NO_TRUSTABLE_FILEMODE = UnfortunatelyYes
447+
OLD_ICONV = UnfortunatelyYes
447448
# There are conflicting reports about this.
448449
# On some boxes NO_MMAP is needed, and not so elsewhere.
449450
# Try commenting this out if you suspect MMAP is more efficient

0 commit comments

Comments
 (0)