mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-10 21:37:20 +00:00
FileSystem: Android build fix
This commit is contained in:
parent
042a2d72f7
commit
c9c4307871
@ -2788,6 +2788,10 @@ bool FileSystem::SetPathCompression(const char* path, bool enable)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
|
|
||||||
static bool SetLock(int fd, bool lock, bool block, Error* error)
|
static bool SetLock(int fd, bool lock, bool block, Error* error)
|
||||||
{
|
{
|
||||||
// We want to lock the whole file.
|
// We want to lock the whole file.
|
||||||
|
@ -1396,7 +1396,7 @@ bool dyn_libs::OpenSpirvCross(Error* error)
|
|||||||
if (s_spirv_cross_library.IsOpen())
|
if (s_spirv_cross_library.IsOpen())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) || defined(__ANDROID__)
|
||||||
// SPVC's build on Windows doesn't spit out a versioned DLL.
|
// SPVC's build on Windows doesn't spit out a versioned DLL.
|
||||||
const std::string libname = DynamicLibrary::GetVersionedFilename("spirv-cross-c-shared");
|
const std::string libname = DynamicLibrary::GetVersionedFilename("spirv-cross-c-shared");
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user