1
0
Fork 0
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:
Sfan5 2014-01-19 14:32:03 +01:00
parent 1b5b6fe692
commit cd7e8372f3
3 changed files with 52 additions and 22 deletions

View file

@ -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.