Fix build failures on Windows.

* remove atoll
* fix include path of updater depends
This commit is contained in:
Petr Mrázek 2013-12-07 03:51:21 +01:00
parent 48ec8e67b8
commit 858916b951
2 changed files with 1 additions and 8 deletions

View File

@ -7,7 +7,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
include_directories(depends) include_directories(depends)
if (WIN32) if (WIN32)
include_directories(depends/win32cpp/include) include_directories(depends/win32cpp)
if(MSVC) if(MSVC)
# - Link the updater binary statically with the Visual C++ runtime # - Link the updater binary statically with the Visual C++ runtime

View File

@ -9,13 +9,6 @@
#include <cstdlib> #include <cstdlib>
#include <iostream> #include <iostream>
#ifdef PLATFORM_WINDOWS
long long atoll(const char* string)
{
return _atoi64(string);
}
#endif
UpdaterOptions::UpdaterOptions() UpdaterOptions::UpdaterOptions()
: mode(UpdateInstaller::Setup) : mode(UpdateInstaller::Setup)
, waitPid(0) , waitPid(0)