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:
koldo 2020-11-30 07:13:55 +00:00
parent ec942c1264
commit 1bf60fe705

View file

@ -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);