summaryrefslogtreecommitdiff
path: root/freefilesync/ffs_el6_el7_bit.patch
blob: 3cc6ccca1ff99090af4b991e6a1798f249c0f432 (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
26
Author: bgstack15
Date: 2019-10-22
Version: FreeFileSync 10.17
Distro: el7,el8,fc29
Message: Some library is not available to these older distros, and it doesn't matter too much so far.
diff -Naur -x '*.orig' -x '*.rej' -x '*.swp' 10.17-0/zen/build_info.h 10.17-1/zen/build_info.h
--- 10.17-0/zen/build_info.h	2019-10-21 11:23:51.249139703 -0400
+++ 10.17-1/zen/build_info.h	2019-10-22 13:53:00.207113564 -0400
@@ -7,7 +7,7 @@
 #ifndef BUILD_INFO_H_5928539285603428657
 #define BUILD_INFO_H_5928539285603428657
 
-    #include <bit> //std::endian
+    //#include <bit> //std::endian
 
 #define ZEN_ARCH_32BIT 32
 #define ZEN_ARCH_64BIT 64
@@ -24,7 +24,7 @@
 
 constexpr bool usingLittleEndian()
 {
-    return std::endian::native == std::endian::little;
+    return true;
 }
 
 #endif //BUILD_INFO_H_5928539285603428657
bgstack15