mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.0094: MS-Windows: cannot build with Strawberry Perl 5.30
Problem: MS-Windows: cannot build with Strawberry Perl 5.30. Solution: Define __builtin_expect() as a workaround. (Ken Takata, closes #5267)
This commit is contained in:
parent
7b94e77132
commit
e73b38f8e1
@ -47,6 +47,9 @@
|
||||
/* Work around for using MSVC and ActivePerl 5.18. */
|
||||
#ifdef _MSC_VER
|
||||
# define __inline__ __inline
|
||||
|
||||
// Work around for using MSVC and Strawberry Perl 5.30.
|
||||
# define __builtin_expect(expr, val) (expr)
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
@ -742,6 +742,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
94,
|
||||
/**/
|
||||
93,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user