mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +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)
|
||||
|
||||
if (WIN32)
|
||||
include_directories(depends/win32cpp/include)
|
||||
include_directories(depends/win32cpp)
|
||||
|
||||
if(MSVC)
|
||||
# - Link the updater binary statically with the Visual C++ runtime
|
||||
|
@ -9,13 +9,6 @@
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
long long atoll(const char* string)
|
||||
{
|
||||
return _atoi64(string);
|
||||
}
|
||||
#endif
|
||||
|
||||
UpdaterOptions::UpdaterOptions()
|
||||
: mode(UpdateInstaller::Setup)
|
||||
, waitPid(0)
|
||||
|
Loading…
Reference in New Issue
Block a user