mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Include system info in the HTTP user agent on Windows
This commit is contained in:
parent
1b5b6fe692
commit
cd7e8372f3
3 changed files with 52 additions and 22 deletions
|
@ -148,6 +148,12 @@ bool threadBindToProcessor(threadid_t tid, int pnumber);
|
|||
*/
|
||||
bool threadSetPriority(threadid_t tid, int prio);
|
||||
|
||||
/*
|
||||
Return system information
|
||||
e.g. "Linux/3.12.7 x86_64"
|
||||
*/
|
||||
std::string get_sysinfo();
|
||||
|
||||
/*
|
||||
Resolution is 10-20ms.
|
||||
Remember to check for overflows.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue