mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 17:15:40 +00:00
HostInterface: Fix compile error on Linux
This commit is contained in:
parent
d88fc20434
commit
0590f0935c
|
@ -12,6 +12,8 @@
|
|||
#include "spu.h"
|
||||
#include "system.h"
|
||||
#include "timers.h"
|
||||
#include <cstring>
|
||||
#include <cmath>
|
||||
#include <imgui.h>
|
||||
Log_SetChannel(HostInterface);
|
||||
|
||||
|
@ -23,8 +25,6 @@ Log_SetChannel(HostInterface);
|
|||
|
||||
#if defined(ANDROID) || (defined(__GNUC__) && __GNUC__ < 8)
|
||||
|
||||
#include <cstring>
|
||||
|
||||
static std::string GetRelativePath(const std::string& path, const char* new_filename)
|
||||
{
|
||||
const char* last = std::strrchr(path.c_str(), '/');
|
||||
|
|
Loading…
Reference in a new issue