mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
Merge pull request #7868 from Learath2/dd_pr_updater
Fix updater issue. Close #7867
This commit is contained in:
commit
d60852a020
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue