summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/0002-PPC-big-endian.patch
blob: b1af3deb5878436dc5b01fe5efd1599367a56133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From d4c11502175e2a7821dbd92e029a90d54498e3e8 Mon Sep 17 00:00:00 2001
From: John Zimmermann <johnz@posteo.net>
Date: Thu, 2 Jan 2020 12:57:33 +0100
Subject: [PATCH] PPC big endian

---
 Telegram/SourceFiles/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git Telegram/SourceFiles/config.h Telegram/SourceFiles/config.h
index fb7b54e4d..6a873fbd7 100644
--- a/Telegram/SourceFiles/config.h
+++ b/Telegram/SourceFiles/config.h
@@ -177,7 +177,7 @@ constexpr auto ApiHash = "344583e45741c457fe1862106095a5eb";
 #endif // TDESKTOP_API_ID && TDESKTOP_API_HASH
 
 #if Q_BYTE_ORDER == Q_BIG_ENDIAN
-#error "Only little endian is supported!"
+#warning "Only little endian is supported!"
 #endif // Q_BYTE_ORDER == Q_BIG_ENDIAN
 
 #if (TDESKTOP_ALPHA_VERSION != 0)
-- 
2.24.1