Merge pull request #7868 from Learath2/dd_pr_updater

Fix updater issue. Close #7867
This commit is contained in:
Dennis Felsing 2024-01-28 12:37:42 +00:00 committed by GitHub
commit d60852a020
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,6 @@
#include "updater.h"
#include <base/system.h> #include <base/system.h>
#include "updater.h"
#include <engine/client.h> #include <engine/client.h>
#include <engine/engine.h> #include <engine/engine.h>
#include <engine/external/json-parser/json.h> #include <engine/external/json-parser/json.h>

View file

@ -1,6 +1,7 @@
#ifndef ENGINE_CLIENT_UPDATER_H #ifndef ENGINE_CLIENT_UPDATER_H
#define ENGINE_CLIENT_UPDATER_H #define ENGINE_CLIENT_UPDATER_H
#include <base/detect.h>
#include <base/lock.h> #include <base/lock.h>
#include <engine/updater.h> #include <engine/updater.h>
@ -25,6 +26,9 @@
#define PLAT_NAME CONF_PLATFORM_STRING "-unsupported" #define PLAT_NAME CONF_PLATFORM_STRING "-unsupported"
#endif #endif
#else #else
#if defined(AUTOUPDATE)
#error Compiling with autoupdater on an unsupported platform
#endif
#define PLAT_EXT "" #define PLAT_EXT ""
#define PLAT_NAME "unsupported-unsupported" #define PLAT_NAME "unsupported-unsupported"
#endif #endif