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>
Pascal Obry committed
Dec 1, 2007 at 10:49 UTC
7a4a2e1f797724ce15b059f55ce57eab0e6be807
1 file changed
+1
Makefile
+1
@@ -444,6 +444,7 @@ ifeq ($(uname_O),Cygwin)
444
NEEDS_LIBICONV = YesPlease
445
NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
446
NO_TRUSTABLE_FILEMODE = UnfortunatelyYes
447
+ OLD_ICONV = UnfortunatelyYes
448
# There are conflicting reports about this.
449
# On some boxes NO_MMAP is needed, and not so elsewhere.
450
# Try commenting this out if you suspect MMAP is more efficient