Changeset View
Changeset View
Standalone View
Standalone View
net-im/telegram-desktop/files/patch-Telegram_SourceFiles_config.h
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- Telegram/SourceFiles/config.h.orig 2017-09-05 17:38:38 UTC | |||||
+++ Telegram/SourceFiles/config.h | |||||
@@ -270,7 +270,7 @@ inline const char *cApiDeviceModel() { | |||||
return "PC"; | |||||
#elif defined Q_OS_MAC | |||||
return "Mac"; | |||||
-#elif defined Q_OS_LINUX | |||||
+#elif defined Q_OS_LINUX || defined Q_OS_FREEBSD | |||||
return "PC"; | |||||
#endif | |||||
} | |||||
@@ -281,6 +281,8 @@ inline const char *cApiSystemVersion() { | |||||
return "OS X"; | |||||
#elif defined Q_OS_LINUX | |||||
return "Linux"; | |||||
+#elif defined Q_OS_FREEBSD | |||||
+ return "FreeBSD"; | |||||
#endif | |||||
} | |||||