mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Include system info in the HTTP user agent on Windows
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user