mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-08 05:55:13 +00:00
2.2
- Refactored audio I/O to allow sharing a common context between input and output, for those OSes that require this - Rewritten periodic operation handling to use a "run loop" thingy instead of an ugly loop formerly known as tick thread - Fixed a bunch of compiler warnings (closes #13) - Added automake so you no longer need to use the GYP file for standalone builds (closes #43)
This commit is contained in:
@@ -64,8 +64,13 @@ void tgvoip_log_file_write_header(FILE* file){
|
||||
#else
|
||||
struct utsname sysname;
|
||||
uname(&sysname);
|
||||
char systemVersion[128];
|
||||
snprintf(systemVersion, sizeof(systemVersion), "%s %s (%s)", sysname.sysname, sysname.release, sysname.version);
|
||||
std::string sysver(sysname.sysname);
|
||||
sysver+=" ";
|
||||
sysver+=sysname.release;
|
||||
sysver+=" (";
|
||||
sysver+=sysname.version;
|
||||
sysver+=")";
|
||||
const char* systemVersion=sysver.c_str();
|
||||
#endif
|
||||
#elif defined(__APPLE__)
|
||||
char osxVer[128];
|
||||
|
||||
Reference in New Issue
Block a user