mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-22 11:21:18 +02:00
correct for both vita and horizon
This commit is contained in:
parent
100a0f50e2
commit
3ea9bf04a1
@ -446,8 +446,10 @@ String DirAccessUnix::read_link(String p_file) {
|
||||
}
|
||||
|
||||
Error DirAccessUnix::create_link(String p_source, String p_target) {
|
||||
#if defined(VITA_ENABLED) || defined(HORIZON_ENABLED)
|
||||
return FAILED; // If Vita or Horizon, just return FAILED and do nothing else
|
||||
#ifdef VITA_ENABLED
|
||||
return FAILED;
|
||||
#elif defined(HORIZON_ENABLED)
|
||||
return FAILED;
|
||||
#else
|
||||
if (p_target.is_rel_path()) {
|
||||
p_target = get_current_dir().plus_file(p_target);
|
||||
@ -465,7 +467,6 @@ Error DirAccessUnix::create_link(String p_source, String p_target) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
uint64_t DirAccessUnix::get_space_left() {
|
||||
#ifndef NO_STATVFS
|
||||
struct statvfs vfs;
|
||||
|
Loading…
Reference in New Issue
Block a user