mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-01 22:03:40 -06:00
SysInfo: Fixed Alpine Linux problem thanks to Novo
git-svn-id: svn://ultimatepp.org/upp/trunk@15550 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ec942c1264
commit
1bf60fe705
1 changed files with 3 additions and 1 deletions
|
|
@ -1745,7 +1745,9 @@ bool Shutdown(String action) {
|
|||
} else if (action == "reboot") { // LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2
|
||||
sync();
|
||||
sleep(1);
|
||||
#if __GNU_LIBRARY__ > 5
|
||||
#if !defined(__GNU_LIBRARY__)
|
||||
reboot(0x01234567);
|
||||
#elif __GNU_LIBRARY__ > 5
|
||||
reboot(0x01234567);
|
||||
#else
|
||||
reboot(0xfee1dead, 672274793, 0x01234567);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue