Problem: MS-Windows: PlatformId() is called unnecessarily.
Solution: Remove calls to PlatformId(). (Ken Takata, closes #4170)
{
MEMORYSTATUSEX ms;
- PlatformId();
/* Need to use GlobalMemoryStatusEx() when there is more memory than
* what fits in 32 bits. But it's not always available. */
ms.dwLength = sizeof(MEMORYSTATUSEX);
char *
default_shell(void)
{
- PlatformId();
-
return "cmd.exe";
}
mch_copy_file_attribute(char_u *from, char_u *to)
{
/* File streams only work on Windows NT and later. */
- PlatformId();
copy_infostreams(from, to);
return 0;
}
DWORD nPageSize;
DWORD dummy;
- PlatformId();
-
/* We need to know the system page size. */
GetSystemInfo(&si);
nPageSize = si.dwPageSize;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1059,
/**/
1058,
/**/