0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.870

Problem:    Compiler warnings when using MingW 4.5.3.
Solution:   Do not use MAKEINTRESOURCE. Adjust #if. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2013-03-19 14:48:29 +01:00
parent 0c279bbb9c
commit af62ff3696
6 changed files with 27 additions and 23 deletions

View File

@@ -184,12 +184,14 @@ char * _fullpath(char *buf, char *fname, int len)
}
# endif
# if !defined(__MINGW32__) || (__GNUC__ < 4)
int _chdrive(int drive)
{
char temp [3] = "-:";
temp[0] = drive + 'A' - 1;
return !SetCurrentDirectory(temp);
}
# endif
#else
# ifdef __BORLANDC__
/* being a more ANSI compliant compiler, BorlandC doesn't define _stricoll: