aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby27/files/patch-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby27/files/patch-util.c')
-rw-r--r--lang/ruby27/files/patch-util.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/lang/ruby27/files/patch-util.c b/lang/ruby27/files/patch-util.c
deleted file mode 100644
index 34686785879f..000000000000
--- a/lang/ruby27/files/patch-util.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- util.c.orig 2022-04-12 11:25:48 UTC
-+++ util.c
-@@ -210,6 +210,7 @@ typedef int (cmpfunc_t)(const void*, const void*, void
-
- typedef int (cmpfunc_t)(const void*, const void*, void*);
-
-+#if !defined HAVE_GNU_QSORT_R
- #if defined HAVE_QSORT_S && defined RUBY_MSVCRT_VERSION
- /* In contrast to its name, Visual Studio qsort_s is incompatible with
- * C11 in the order of the comparison function's arguments, and same
-@@ -255,7 +256,7 @@ ruby_qsort(void* base, const size_t nel, const size_t
- qsort_s(base, nel, size, cmp, d);
- }
- # define HAVE_GNU_QSORT_R 1
--#elif !defined HAVE_GNU_QSORT_R
-+#else
- /* mm.c */
-
- #define mmtype long
-@@ -521,7 +522,8 @@ ruby_qsort(void* base, const size_t nel, const size_t
- else goto nxt; /* need not to sort both sides */
- }
- }
--#endif /* HAVE_GNU_QSORT_R */
-+#endif
-+#endif /* !HAVE_GNU_QSORT_R */
-
- char *
- ruby_strdup(const char *str)