From cd7e8372f3c83531afe5d5c2460ecb95540f9d0d Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Sun, 19 Jan 2014 14:32:03 +0100 Subject: Include system info in the HTTP user agent on Windows --- src/porting.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/porting.h') diff --git a/src/porting.h b/src/porting.h index ea7f31b13..7cd4cf031 100644 --- a/src/porting.h +++ b/src/porting.h @@ -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. -- cgit v1.2.3