mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Fix UNIX builds
This commit is contained in:
parent
55daddf286
commit
c1a3085939
@ -1047,7 +1047,7 @@ static bool frontend_unix_powerstate_check_acpi(
|
|||||||
bool have_battery = false;
|
bool have_battery = false;
|
||||||
bool have_ac = false;
|
bool have_ac = false;
|
||||||
bool charging = false;
|
bool charging = false;
|
||||||
struct RDIR *entry = retro_opendir(proc_acpi_battery_path);
|
struct RDIR *entry = retro_opendir(PROC_ACPI_BATTERY_PATH);
|
||||||
if (!entry)
|
if (!entry)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user