Mercurial > vim
diff src/os_win32.c @ 1686:c7c53db66b55 v7.2b.019
updated for version 7.2b-019
author | vimboss |
---|---|
date | Thu, 24 Jul 2008 18:51:11 +0000 |
parents | 73fe8baea242 |
children | a8aae2e1d2ae |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -4663,7 +4663,7 @@ mch_fopen(char *name, char *mode) # endif ) { -# if defined(DEBUG) && _MSC_VER > 1200 +# if defined(DEBUG) && _MSC_VER >= 1400 /* Work around an annoying assertion in the Microsoft debug CRT * when mode's text/binary setting doesn't match _get_fmode(). */ char newMode = mode[strlen(mode) - 1]; @@ -4682,7 +4682,7 @@ mch_fopen(char *name, char *mode) vim_free(wn); vim_free(wm); -# if defined(DEBUG) && _MSC_VER > 1200 +# if defined(DEBUG) && _MSC_VER >= 1400 _set_fmode(oldMode); # endif