mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 02:49:14 -04:00
20 lines
583 B
C++
20 lines
583 B
C++
--- Telegram/ThirdParty/libtgvoip/logging.cpp.orig 2018-12-31 01:05:58 UTC
|
|
+++ Telegram/ThirdParty/libtgvoip/logging.cpp
|
|
@@ -13,7 +13,7 @@
|
|
|
|
#ifdef __ANDROID__
|
|
#include <sys/system_properties.h>
|
|
-#elif defined(__linux__)
|
|
+#elif defined(__linux__) || defined(__FreeBSD__)
|
|
#include <sys/utsname.h>
|
|
#endif
|
|
|
|
@@ -51,7 +51,7 @@ void tgvoip_log_file_write_header(FILE* file){
|
|
#else
|
|
char* systemVersion="Windows RT";
|
|
#endif
|
|
-#elif defined(__linux__)
|
|
+#elif defined(__linux__) || defined(__FreeBSD__)
|
|
#ifdef __ANDROID__
|
|
char systemVersion[128];
|
|
char sysRel[PROP_VALUE_MAX];
|