Mercurial > vim
changeset 1912:fcf44bf1218f v7.2.209
updated for version 7.2-209
author | vimboss |
---|---|
date | Tue, 16 Jun 2009 16:29:10 +0000 |
parents | afbe4a4c884c |
children | bddda5d8caa1 |
files | src/version.c src/xxd/xxd.c |
diffstat | 2 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 209, +/**/ 208, /**/ 207,
--- a/src/xxd/xxd.c +++ b/src/xxd/xxd.c @@ -64,6 +64,9 @@ # define _CRT_SECURE_NO_DEPRECATE # define _CRT_NONSTDC_NO_DEPRECATE #endif +#if !defined(CYGWIN) && (defined(CYGWIN32) || defined(__CYGWIN__) || defined(__CYGWIN32__)) +# define CYGWIN +#endif #include <stdio.h> #ifdef VAXC @@ -77,7 +80,8 @@ #if !defined(OS2) && defined(__EMX__) # define OS2 #endif -#if defined(MSDOS) || defined(WIN32) || defined(OS2) || defined(__BORLANDC__) +#if defined(MSDOS) || defined(WIN32) || defined(OS2) || defined(__BORLANDC__) \ + || defined(CYGWIN) # include <io.h> /* for setmode() */ #else # ifdef UNIX @@ -150,9 +154,6 @@ char osver[] = ""; # endif #endif -#if !defined(CYGWIN) && (defined(CYGWIN32) || defined(__CYGWIN__) || defined(__CYGWIN32__)) -# define CYGWIN -#endif #if defined(MSDOS) || defined(WIN32) || defined(OS2) # define BIN_READ(yes) ((yes) ? "rb" : "rt") # define BIN_WRITE(yes) ((yes) ? "wb" : "wt")