mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-26 05:36:36 +00:00
Try to fix Android build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
167b16d8fb
commit
83fbeaf3ba
@ -346,7 +346,9 @@ std::error_code remove(const Twine &path, bool IgnoreNonExisting) {
|
||||
|
||||
static bool is_local_impl(struct STATVFS &Vfs) {
|
||||
#if defined(__linux__)
|
||||
constexpr uint32_t CIFS_MAGIC_NUMBER = 0xFF534D42;
|
||||
#ifndef CIFS_MAGIC_NUMBER
|
||||
#define CIFS_MAGIC_NUMBER 0xFF534D42
|
||||
#endif
|
||||
switch ((uint32_t)Vfs.f_type) {
|
||||
case NFS_SUPER_MAGIC:
|
||||
case SMB_SUPER_MAGIC:
|
||||
|
Loading…
x
Reference in New Issue
Block a user