File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 108
108
*/
109
109
#if defined(__linux) || defined(__linux__) || defined(linux) || defined(__gnu_linux__) || \
110
110
defined(__CYGWIN__) || defined(__MSYS__)
111
- # if !defined(_GNU_SOURCE) && !defined(__ANDROID__) /* NDK doesn't ship qsort_r(). */
112
- # define _GNU_SOURCE
113
- # endif
111
+ #if !defined(_GNU_SOURCE) && !defined(__ANDROID__) /* NDK doesn't ship qsort_r(). */
112
+ #define _GNU_SOURCE
113
+ #endif
114
114
#endif
115
115
116
116
#include <limits.h>
Original file line number Diff line number Diff line change 1
1
--- zstd-1.5.7.c 2025-05-30 16:39:46.374765970 +0800
2
- +++ zstd.c 2025-05-30 20:52:04.907764386 +0800
2
+ +++ zstd.c 2025-05-30 21:02:30.710831777 +0800
3
3
@@ -50,6 +50,27 @@
4
4
/* TODO: Can't amalgamate ASM function */
5
5
#define ZSTD_DISABLE_ASM 1
28
28
/* Include zstd_deps.h first with all the options we need enabled. */
29
29
#define ZSTD_DEPS_NEED_MALLOC
30
30
#define ZSTD_DEPS_NEED_MATH64
31
- @@ -87,9 +108,9 @@
32
- */
33
- #if defined(__linux) || defined(__linux__) || defined(linux) || defined(__gnu_linux__) || \
34
- defined(__CYGWIN__) || defined(__MSYS__)
35
- - #if !defined(_GNU_SOURCE) && !defined(__ANDROID__) /* NDK doesn't ship qsort_r(). */
36
- - #define _GNU_SOURCE
37
- - #endif
38
- + # if !defined(_GNU_SOURCE) && !defined(__ANDROID__) /* NDK doesn't ship qsort_r(). */
39
- + # define _GNU_SOURCE
40
- + # endif
41
- #endif
42
-
43
- #include <limits.h>
44
31
@@ -22353,7 +22374,7 @@
45
32
ZSTD_GEN_RECORD_FINGERPRINT(43, 8)
46
33
You can’t perform that action at this time.
0 commit comments