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;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
static bool SetLock(int fd, bool lock, bool block, Error* error)
|
||||
{
|
||||
// We want to lock the whole file.
|
||||
|
|
|
@ -1396,7 +1396,7 @@ bool dyn_libs::OpenSpirvCross(Error* error)
|
|||
if (s_spirv_cross_library.IsOpen())
|
||||
return true;
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) || defined(__ANDROID__)
|
||||
// SPVC's build on Windows doesn't spit out a versioned DLL.
|
||||
const std::string libname = DynamicLibrary::GetVersionedFilename("spirv-cross-c-shared");
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue