]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.120 v7.4.120
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Dec 2013 16:20:19 +0000 (17:20 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Dec 2013 16:20:19 +0000 (17:20 +0100)
Problem:    Can't build with Perl 5.18 on Linux. (Lcd 47)
Solution:   Add #ifdef. (Ken Takata)

src/if_perl.xs
src/version.c

index 0094627210693f76193cdf2841527f59d9b6981c..650aeb2af8a6fec3998c7c51664673dc4e7053a6 100644 (file)
@@ -27,7 +27,9 @@
 /* Work around for perl-5.18.
  * Don't include "perl\lib\CORE\inline.h" for now,
  * include it after Perl_sv_free2 is defined. */
-#define PERL_NO_INLINE_FUNCTIONS
+#ifdef DYNAMIC_PERL
+# define PERL_NO_INLINE_FUNCTIONS
+#endif
 
 /*
  * Prevent including winsock.h.  perl.h tries to detect whether winsock.h is
index b5f70193f5fa22a5c1afb9a20aa2eba079ed4c95..3d5edc0bcbb0e2e326cf73353ecfb1252bf7472c 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    120,
 /**/
     119,
 /**/