mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +00:00
Fix build failures on Windows.
* remove atoll * fix include path of updater depends
This commit is contained in:
parent
48ec8e67b8
commit
858916b951
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user