Patch 8.2.2042
Problem:    Build failure with +profile but without +reltime.
Solution:   Adjust #ifdef. (Christian Brabandt, closes #7361)
Files:      src/syntax.c


*** ../vim-8.2.2041/src/syntax.c        2020-11-18 16:53:19.982914841 +0100
--- src/syntax.c        2020-11-25 11:46:32.480624943 +0100
***************
*** 6707,6713 ****
  {
      int               idx;
      synpat_T  *spp;
! # ifdef FEAT_FLOAT
      proftime_T        tm;
  # endif
      int               len;
--- 6707,6713 ----
  {
      int               idx;
      synpat_T  *spp;
! # if defined(FEAT_RELTIME) && defined(FEAT_FLOAT)
      proftime_T        tm;
  # endif
      int               len;
***************
*** 6737,6743 ****
            p->match = spp->sp_time.match;
            total_count += spp->sp_time.count;
            p->slowest = spp->sp_time.slowest;
! # ifdef FEAT_FLOAT
            profile_divide(&spp->sp_time.total, spp->sp_time.count, &tm);
            p->average = tm;
  # endif
--- 6737,6743 ----
            p->match = spp->sp_time.match;
            total_count += spp->sp_time.count;
            p->slowest = spp->sp_time.slowest;
! # if defined(FEAT_RELTIME) && defined(FEAT_FLOAT)
            profile_divide(&spp->sp_time.total, spp->sp_time.count, &tm);
            p->average = tm;
  # endif
*** ../vim-8.2.2041/src/version.c       2020-11-24 20:13:21.550432713 +0100
--- src/version.c       2020-11-25 11:47:17.960488977 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2042,
  /**/

-- 
Proverb: A nightingale that forgets the lyrics is a hummingbird.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202011251048.0APAmCUl2008248%40masaka.moolenaar.net.

Raspunde prin e-mail lui