mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-10 06:31:49 +00:00
Avoid unnecessary redefinition of atoll() under MSVC 2013
atoll() was added to the MSVC standard library under MSVC 2013 so we don't need our own definition of it. MD-20088 test: none: Build fix
This commit is contained in:
parent
1b0d933ad7
commit
21dd167d8b
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#ifdef PLATFORM_WINDOWS
|
#if defined(PLATFORM_WINDOWS) && (_MSC_VER < 1800)
|
||||||
|
// atoll() was added in MSVC 2013
|
||||||
long long atoll(const char* string)
|
long long atoll(const char* string)
|
||||||
{
|
{
|
||||||
return _atoi64(string);
|
return _atoi64(string);
|
||||||
|
|
Loading…
Reference in a new issue