4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: For xxd setmode() is undefined on Cygwin.
12 Solution: Include io.h. (Dominique Pelle)
16 *** ../vim-7.2.208/src/xxd/xxd.c 2007-12-03 21:32:21.000000000 +0100
17 --- src/xxd/xxd.c 2009-06-16 18:03:14.000000000 +0200
21 # define _CRT_SECURE_NO_DEPRECATE
22 # define _CRT_NONSTDC_NO_DEPRECATE
24 + #if !defined(CYGWIN) && (defined(CYGWIN32) || defined(__CYGWIN__) || defined(__CYGWIN32__))
32 #if !defined(OS2) && defined(__EMX__)
35 ! #if defined(MSDOS) || defined(WIN32) || defined(OS2) || defined(__BORLANDC__)
36 # include <io.h> /* for setmode() */
40 #if !defined(OS2) && defined(__EMX__)
43 ! #if defined(MSDOS) || defined(WIN32) || defined(OS2) || defined(__BORLANDC__) \
45 # include <io.h> /* for setmode() */
53 - #if !defined(CYGWIN) && (defined(CYGWIN32) || defined(__CYGWIN__) || defined(__CYGWIN32__))
56 #if defined(MSDOS) || defined(WIN32) || defined(OS2)
57 # define BIN_READ(yes) ((yes) ? "rb" : "rt")
58 # define BIN_WRITE(yes) ((yes) ? "wb" : "wt")
60 *** ../vim-7.2.208/src/version.c 2009-06-16 17:50:56.000000000 +0200
61 --- src/version.c 2009-06-16 18:16:08.000000000 +0200
65 { /* Add new patch number below this line */
71 "So this is it," said Arthur, "we are going to die."
72 "Yes," said Ford, "except...no! Wait a minute!" He suddenly lunged across
73 the chamber at something behind Arthur's line of vision. "What's this
75 "What? Where?" cried Arthur, twisting around.
76 "No, I was only fooling," said Ford, "we are going to die after all."
77 -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
79 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
80 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
81 \\\ download, build and distribute -- http://www.A-A-P.org ///
82 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///