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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user