Problem: Ruby headers define HAVE_FSYNC, which leaks into Vim sources
on Windows and changes conditional compilation of buf_T. This
causes struct layout mismatches in if_ruby.c and results in a
different offset for the b_p_bl property, making Vim::Buffer
access fail (after v9.1.2024)
Solution: Undefine HAVE_FSYNC after including the Ruby headers.
related: #19019
closes: #19206
Signed-off-by: Christian Brabandt <cb@256bit.org>
#ifdef HAVE_DUP
# undef HAVE_DUP
#endif
+#ifdef HAVE_FSYNC
+# undef HAVE_FSYNC
+#endif
// Avoid redefining TRUE/FALSE in vterm.h.
#ifdef TRUE
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2091,
/**/
2090,
/**/